|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.asteriskjava.manager.event.ManagerEvent
org.asteriskjava.manager.event.QueueMemberPenaltyEvent
public class QueueMemberPenaltyEvent
A QueueMemberPenaltyEvent is triggered when a queue member is assigned a new penalty.
It is implemented in apps/app_queue.c
.
Available since Asterisk 1.6
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
QueueMemberPenaltyEvent(java.lang.Object source)
Creates a new instance. |
Method Summary | |
---|---|
java.lang.String |
getLocation()
Returns the name of the member's interface. |
java.lang.Integer |
getPenalty()
Returns the new penalty. |
java.lang.String |
getQueue()
Returns the name of the queue. |
void |
setLocation(java.lang.String member)
Sets the name of the member's interface. |
void |
setPenalty(java.lang.Integer penalty)
Sets the new penalty. |
void |
setQueue(java.lang.String queue)
Sets the name of the queue. |
Methods inherited from class org.asteriskjava.manager.event.ManagerEvent |
---|
getDateReceived, getPrivilege, getServer, getTimestamp, setDateReceived, setPrivilege, setServer, setTimestamp, toString |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QueueMemberPenaltyEvent(java.lang.Object source)
source
- Method Detail |
---|
public java.lang.String getQueue()
public void setQueue(java.lang.String queue)
queue
- the name of the queue.public java.lang.String getLocation()
E.g. the channel name or agent group.
public void setLocation(java.lang.String member)
member
- the name of the member's interface.public java.lang.Integer getPenalty()
public void setPenalty(java.lang.Integer penalty)
penalty
- the new penalty.
|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |