namespace AsterNET.Manager.Event
{
///
/// An AgentCallbackLogoffEvent is triggered when an agent that previously logged in using AgentLogin is logged of.
/// It is implemented in channels/chan_agent.c
///
///
public class AgentLogoffEvent : ManagerEvent
{
private string agent;
private string loginTime;
///
/// Get/Set the name of the agent that logged off.
///
public string Agent
{
get { return agent; }
set { this.agent = value; }
}
public string LoginTime
{
get { return loginTime; }
set { this.loginTime = value; }
}
public AgentLogoffEvent(ManagerConnection source)
: base(source)
{
}
}
}