2014-01-08 14:16:39 +00:00
|
|
|
namespace AsterNET.Manager.Event
|
2013-01-18 15:55:50 +00:00
|
|
|
{
|
2015-01-03 15:37:29 +00:00
|
|
|
/// <summary>
|
|
|
|
/// An AgentCallbackLoginEvent is triggered when an agent is successfully logged in using AgentCallbackLogin.<br />
|
|
|
|
/// It is implemented in <code>channels/chan_agent.c</code>
|
|
|
|
/// </summary>
|
|
|
|
/// <seealso cref="Manager.event.AgentCallbackLogoffEvent" />
|
|
|
|
public class AgentCallbackLoginEvent : ManagerEvent
|
|
|
|
{
|
|
|
|
public AgentCallbackLoginEvent(ManagerConnection source)
|
|
|
|
: base(source)
|
|
|
|
{
|
|
|
|
}
|
2013-01-18 15:55:50 +00:00
|
|
|
|
2015-01-03 15:37:29 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Get/Set the name of the agent that logged in.
|
|
|
|
/// </summary>
|
|
|
|
public string Agent { get; set; }
|
2013-01-18 15:55:50 +00:00
|
|
|
|
2015-01-03 15:37:29 +00:00
|
|
|
public string LoginChan { get; set; }
|
|
|
|
}
|
2013-01-18 15:55:50 +00:00
|
|
|
}
|