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 AgentLoginEvent is triggered when an agent is successfully logged in using AgentLogin.<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>
|
|
|
|
/// <seealso cref="Manager.event.AgentLogoffEvent" />
|
|
|
|
public class AgentLoginEvent : ManagerEvent
|
|
|
|
{
|
|
|
|
public AgentLoginEvent(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
|
|
|
}
|