namespace Asterisk.NET.Manager.Event
{
///
/// Abstract base class providing common properties for JoinEvent and LeaveEvent.
///
public abstract class QueueEvent : ManagerEvent
{
private string queue;
private int count;
///
/// Get/Set the number of elements in the queue, i.e. the number of calls waiting to be answered by an agent.
///
public int Count
{
get { return count; }
set { this.count = value; }
}
///
/// Get/Set the name of the queue.
///
public string Queue
{
get { return queue; }
set { this.queue = value; }
}
public QueueEvent(ManagerConnection source)
: base(source)
{
}
}
}