asternet/Asterisk.2013/Asterisk.NET/Manager/Event/AgentCallbackLogoffEvent.cs
Herman van den Berg 72ddf45b9f fixed XML documentation errors
enable XML documentation output (for intellisense when using as a dll, eg Nuget)
update Sandcastle documentation (allows enabling Git Hub Pages, see: https://help.github.com/articles/configuring-a-publishing-source-for-github-pages/ , uses '/docs' folder)
2016-10-19 09:20:23 +02:00

48 lines
1.5 KiB
C#

namespace AsterNET.Manager.Event
{
/// <summary>
/// An AgentCallbackLogoffEvent is triggered when an agent that previously logged in using
/// AgentCallbackLogin is logged of.<br />
/// It is implemented in channels/chan_agent.c
/// </summary>
/// <seealso cref="Manager.Event.AgentCallbackLoginEvent" />
public class AgentCallbackLogoffEvent : ManagerEvent
{
#region Agent
/// <summary> Returns the name of the agent that logged off.</summary>
/// <summary> Sets the name of the agent that logged off.</summary>
public string Agent { get; set; }
#endregion
#region LoginChan
public string LoginChan { get; set; }
#endregion
#region LoginTime
public string LoginTime { get; set; }
#endregion
#region Reason
/// <summary>
/// Returns the reason for the logoff. The reason is set to Autologoff if the agent has been
/// logged off due to not answering the phone in time. Autologoff is configured by setting
/// autologoff to the appropriate number of seconds in agents.conf.
/// </summary>
/// <summary>Sets the reason for the logoff.</summary>
public string Reason { get; set; }
#endregion
public AgentCallbackLogoffEvent(ManagerConnection source)
: base(source)
{
}
}
}