namespace Asterisk.NET.Manager.Event
{
///
/// A QueueMemberPausedEvent is triggered when a queue member is paused or unpaused.
/// It is implemented in apps/app_queue.c
.
/// Available since Asterisk 1.2
///
public class QueueMemberPausedEvent : AbstractQueueMemberEvent
{
private string memberName;
private bool paused;
private string reason;
///
/// Returns the name of the member's interface.
/// E.g. the channel name or agent group.
///
public string MemberName
{
get { return this.memberName; }
set { this.memberName = value; }
}
///
/// Get/Set if this queue member is paused (not accepting calls).
/// true
if this member has been paused or
/// false
if not.
///
public bool Paused
{
get { return this.paused; }
set { this.paused = value; }
}
public string Reason
{
get { return this.reason; }
set { this.reason = value; }
}
public QueueMemberPausedEvent(ManagerConnection source)
: base(source)
{
}
}
}