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 />
|
2015-01-04 14:26:32 +00:00
|
|
|
/// It is implemented in channels/chan_agent.c
|
2015-01-03 15:37:29 +00:00
|
|
|
/// </summary>
|
2016-10-19 07:20:23 +00:00
|
|
|
/// <seealso cref="Manager.Event.AgentCallbackLogoffEvent" />
|
2015-01-03 15:37:29 +00:00
|
|
|
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
|
|
|
}
|