2014-01-08 14:16:39 +00:00
|
|
|
namespace AsterNET.Manager.Event
|
2013-01-18 15:55:50 +00:00
|
|
|
{
|
|
|
|
/// <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)
|
|
|
|
{ }
|
|
|
|
}
|
|
|
|
}
|