namespace AsterNET.Manager.Event
{
///
/// A ConnectEvent is triggered after successful login to the asterisk server.
/// It is a pseudo event not directly related to an asterisk generated event.
///
public class ConnectEvent : ConnectionStateEvent
{
/// The version of the manager/proxy protocol.
private string protocolIdentifier;
public ConnectEvent(ManagerConnection source)
: base(source)
{
}
///
/// Get/Set the version of the protocol.
///
public string ProtocolIdentifier
{
get { return protocolIdentifier; }
set { this.protocolIdentifier = value; }
}
}
}