Click or drag to resize
ManagerEvent Class
Abstract base class for all Events that can be received from the Asterisk server.
Events contain data pertaining to an event generated from within the Asterisk core or an extension module.
There is one conrete subclass of ManagerEvent per each supported Asterisk Event.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    AsterNET.Manager.EventManagerEvent
      More...

Namespace: AsterNET.Manager.Event
Assembly: AsterNET (in AsterNET.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public abstract class ManagerEvent : EventArgs, 
	IParseSupport

The ManagerEvent type exposes the following members.

Constructors
  NameDescription
Public methodManagerEvent
Initializes a new instance of the ManagerEvent class
Public methodManagerEvent(ManagerConnection)
Initializes a new instance of the ManagerEvent class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodParse
Unknown properties parser
Public methodParseSpecial
Unknown properties parser
Public methodToString (Overrides ObjectToString.)
Top
Fields
  NameDescription
Protected fieldattributes
Top
Properties
  NameDescription
Public propertyAttributes
Store all unknown (without setter) keys from manager event.
Use in default Parse method [!:Parse(string key, string value)].
Public propertyChannel
Get/Set the name of the channel.
Public propertyDateReceived
Get/Set the point in time this event was received from the Asterisk server.
Pseudo events that are not directly received from the asterisk server (for example ConnectEvent and DisconnectEvent) may return null.
Public propertyPrivilege
Get/Set the AMI authorization class of this event.
This is one or more of system, call, log, verbose, command, agent or user. Multiple privileges are separated by comma.
Note: This property is not available from Asterisk 1.0 servers.
Public propertyServer
Specify a server to which to send your commands (x.x.x.x or hostname).
This should match the server name specified in your config file's "host" entry. If you do not specify a server, the proxy will pick the first one it finds -- fine in single-server configurations.
Public propertySource
Event source.
Public propertyTimestamp
Returns the timestamp for this event.
The timestamp property is available in Asterisk since 1.4 if enabled in manager.conf by setting timestampevents = yes. In contains the time the event was generated in seconds since the epoch.
Public propertyUniqueId
Get/Set the unique id of the channel.
Top
See Also
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    AsterNET.Manager.EventManagerEvent
      AsterNET.Manager.EventAbstractAgentVariables
      AsterNET.Manager.EventAbstractChannelEvent
      AsterNET.Manager.EventAbstractConfbridgeEvent
      AsterNET.Manager.EventAbstractMeetmeEvent
      AsterNET.Manager.EventAbstractParkedCallEvent
      AsterNET.Manager.EventAbstractQueueMemberEvent
      AsterNET.Manager.EventAgentCallbackLoginEvent
      AsterNET.Manager.EventAgentCallbackLogoffEvent
      AsterNET.Manager.EventAgentLoginEvent
      AsterNET.Manager.EventAgentLogoffEvent
      AsterNET.Manager.EventAGIExecEvent
      AsterNET.Manager.EventAlarmClearEvent
      AsterNET.Manager.EventAlarmEvent
      AsterNET.Manager.EventAsyncAGIEvent
      AsterNET.Manager.EventAttendedTransferEvent
      AsterNET.Manager.EventBlindTransferEvent
      AsterNET.Manager.EventBridgeActivityEvent
      AsterNET.Manager.EventBridgeEvent
      AsterNET.Manager.EventBridgeStateEvent
      AsterNET.Manager.EventCdrEvent
      AsterNET.Manager.EventChannelReloadEvent
      AsterNET.Manager.EventChannelUpdateEvent
      AsterNET.Manager.EventConnectionStateEvent
      AsterNET.Manager.EventDialEvent
      AsterNET.Manager.EventDNDStateEvent
      AsterNET.Manager.EventDTMFEvent
      AsterNET.Manager.EventExtensionStatusEvent
      AsterNET.Manager.EventFailedACLEvent
      AsterNET.Manager.EventHoldedCallEvent
      AsterNET.Manager.EventHoldEvent
      AsterNET.Manager.EventJabberEvent
      AsterNET.Manager.EventJitterBufStatsEvent
      AsterNET.Manager.EventLogChannelEvent
      AsterNET.Manager.EventMessageWaitingEvent
      AsterNET.Manager.EventMobileStatusEvent
      AsterNET.Manager.EventModuleLoadReportEvent
      AsterNET.Manager.EventMonitorStartEvent
      AsterNET.Manager.EventMonitorStopEvent
      AsterNET.Manager.EventNewAccountCodeEvent
      AsterNET.Manager.EventNewCallerIdEvent
      AsterNET.Manager.EventNewExtenEvent
      AsterNET.Manager.EventPeerStatusEvent
      AsterNET.Manager.EventPRIEvent
      AsterNET.Manager.EventQueueCallerAbandonEvent
      AsterNET.Manager.EventQueueEvent
      AsterNET.Manager.EventRegistryEvent
      AsterNET.Manager.EventRenameEvent
      AsterNET.Manager.EventResponseEvent
      AsterNET.Manager.EventRTCPReceivedEvent
      AsterNET.Manager.EventRTCPSentEvent
      AsterNET.Manager.EventRTPReceiverStatEvent
      AsterNET.Manager.EventRTPSenderStatEvent
      AsterNET.Manager.EventShowDialPlanCompleteEvent
      AsterNET.Manager.EventTransferEvent
      AsterNET.Manager.EventUnholdEvent
      AsterNET.Manager.EventUnknownEvent
      AsterNET.Manager.EventUserEvent
      AsterNET.Manager.EventVarSetEvent