Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Monitor ¶
type Monitor struct {
// contains filtered or unexported fields
}
Monitor is a bridge monitor, which maintains bridge data. It monitors an ARI bridge for events and keeps an internal cache of the bridge's data.
func (*Monitor) Data ¶
func (m *Monitor) Data() *ari.BridgeData
Data returns the current bridge data
func (*Monitor) Watch ¶
func (m *Monitor) Watch() <-chan *ari.BridgeData
Watch returns a channel on which bridge data will be returned when events occur. This channel will be closed when the bridge or the monitor is destoyed.
NOTE: the user should NEVER close this channel directly.
Click to show internal directories.
Click to hide internal directories.