2014-01-08 14:16:39 +00:00
|
|
|
namespace AsterNET.Manager.Event
|
2013-01-18 15:55:50 +00:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Abstract base class providing common properties for JoinEvent and LeaveEvent.
|
|
|
|
/// </summary>
|
|
|
|
public abstract class QueueEvent : ManagerEvent
|
|
|
|
{
|
|
|
|
private string queue;
|
|
|
|
private int count;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Get/Set the number of elements in the queue, i.e. the number of calls waiting to be answered by an agent.
|
|
|
|
/// </summary>
|
|
|
|
public int Count
|
|
|
|
{
|
|
|
|
get { return count; }
|
|
|
|
set { this.count = value; }
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
|
|
/// Get/Set the name of the queue.
|
|
|
|
/// </summary>
|
|
|
|
public string Queue
|
|
|
|
{
|
|
|
|
get { return queue; }
|
|
|
|
set { this.queue = value; }
|
|
|
|
}
|
|
|
|
|
|
|
|
public QueueEvent(ManagerConnection source)
|
|
|
|
: base(source)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|