asternet/Asterisk.2013/Asterisk.NET/Manager/Event/AgentLoginEvent.cs

22 lines
676 B
C#
Raw Normal View History

2014-01-08 14:16:39 +00:00
namespace AsterNET.Manager.Event
{
2015-01-03 15:37:29 +00:00
/// <summary>
/// An AgentLoginEvent is triggered when an agent is successfully logged in using AgentLogin.<br />
/// It is implemented in channels/chan_agent.c
2015-01-03 15:37:29 +00:00
/// </summary>
/// <seealso cref="Manager.Event.AgentLogoffEvent" />
2015-01-03 15:37:29 +00:00
public class AgentLoginEvent : ManagerEvent
{
public AgentLoginEvent(ManagerConnection source)
: base(source)
{
}
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; }
2015-01-03 15:37:29 +00:00
public string LoginChan { get; set; }
}
}