asternet/Asterisk.2013/Asterisk.NET/Manager/Event/QueueMemberPenaltyEvent.cs
2016-10-18 15:42:41 +02:00

23 lines
649 B
C#

namespace AsterNET.Manager.Event
{
/// <summary>
/// A QueueMemberPenaltyEvent is triggered when a queue member is assigned a new penalty.
/// </summary>
public class QueueMemberPenaltyEvent : AbstractQueueMemberEvent
{
/// <summary>
/// Get/Set the penalty for the queue location.
/// </summary>
public new int Penalty { get; set; }
/// <summary>
/// Creates a new QueueMemberPenaltyEvent
/// </summary>
/// <param name="source">ManagerConnection passed through in the event.</param>
public QueueMemberPenaltyEvent(ManagerConnection source)
: base(source)
{
}
}
}