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

32 lines
765 B
C#

namespace AsterNET.Manager.Event
{
/// <summary>
/// An AgentLoginEvent is triggered when an agent is successfully logged in using AgentLogin.<br/>
/// It is implemented in <code>channels/chan_agent.c</code>
/// </summary>
/// <seealso cref="Manager.event.AgentLogoffEvent" />
public class AgentLoginEvent : ManagerEvent
{
private string agent;
private string loginChan;
/// <summary>
/// Get/Set the name of the agent that logged in.
/// </summary>
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)
{
}
}
}