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