asternet/Asterisk.2013/Asterisk.NET/Manager/Event/AbstractQueueMemberEvent.cs
2014-01-08 14:16:39 +00:00

33 lines
754 B
C#

namespace AsterNET.Manager.Event
{
/// <summary>
/// Abstract base class for several queue member related events.
/// </summary>
public abstract class AbstractQueueMemberEvent : ManagerEvent
{
private string queue;
private string location;
/// <summary>
/// Returns the name of the queue.
/// </summary>
public string Queue
{
get { return queue; }
set { this.queue = value; }
}
/// <summary>
/// Returns the name of the member's interface.<br/>
/// E.g. the channel name or agent group.
/// </summary>
public string Location
{
get { return location; }
set { this.location = value; }
}
public AbstractQueueMemberEvent(ManagerConnection source)
: base(source)
{ }
}
}