asternet/Asterisk.2013/Asterisk.NET/Manager/Event/ConnectionStateEvent.cs
2014-01-08 14:16:39 +00:00

22 lines
492 B
C#

namespace AsterNET.Manager.Event
{
/// <summary>
/// Abstract base class for several agent related events.
/// </summary>
public abstract class ConnectionStateEvent : ManagerEvent
{
private bool reconnect = false;
/// <summary>
/// Get/Set reconnect status.
/// </summary>
public bool Reconnect
{
get { return this.reconnect; }
set { this.reconnect = true; }
}
public ConnectionStateEvent(ManagerConnection source)
: base(source)
{ }
}
}