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

23 lines
727 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 AgentCallbackLogoffEvent is triggered when an agent that previously logged in using AgentLogin is logged of.
/// <br />
/// It is implemented in <code>channels/chan_agent.c</code>
/// </summary>
/// <seealso cref="Manager.event.AgentLoginEvent" />
public class AgentLogoffEvent : ManagerEvent
{
public AgentLogoffEvent(ManagerConnection source)
: base(source)
{
}
/// <summary>
/// Get/Set the name of the agent that logged off.
/// </summary>
public string Agent { get; set; }
public string LoginTime { get; set; }
}
}