namespace Asterisk.NET.Manager.Event
{
///
/// A QueueEntryEvent is triggered in response to a QueueStatusAction and contains information about an entry in a queue.
/// It is implemented in apps/app_queue.c
///
///
public class QueueEntryEvent : ResponseEvent
{
private string queue;
private int position;
private string callerId;
private string callerIdName;
private long wait;
///
/// Get/Set the name of the queue that contains this entry.
///
public string Queue
{
get { return this.queue; }
set { this.queue = value; }
}
///
/// Get/Set the position of this entry in the queue.
///
public int Position
{
get { return this.position; }
set { this.position = value; }
}
///
/// Get/Set the the Caller*ID number of this entry.
///
public string CallerId
{
get { return this.callerId; }
set { this.callerId = value; }
}
///
/// Get/Set the Caller*ID name of this entry.
///
public string CallerIdName
{
get { return this.callerIdName; }
set { this.callerIdName = value; }
}
///
/// Get/Set the number of seconds this entry has spent in the queue.
///
public long Wait
{
get { return this.wait; }
set { this.wait = value; }
}
public QueueEntryEvent(ManagerConnection source)
: base(source)
{
}
}
}