|
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.ResponseEvent
org.asteriskjava.manager.event.QueueEntryEvent
public class QueueEntryEvent
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
QueueStatusAction
,
Serialized FormField Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
QueueEntryEvent(java.lang.Object source)
|
Method Summary | |
---|---|
java.lang.String |
getCallerId()
Returns the the Caller*ID number of this entry. |
java.lang.String |
getCallerIdName()
Returns the Caller*ID name of this entry. |
java.lang.String |
getChannel()
Returns the name of the channel of this entry. |
java.lang.Integer |
getPosition()
Returns the position of this entry in the queue. |
java.lang.String |
getQueue()
Returns the name of the queue that contains this entry. |
java.lang.String |
getUniqueId()
Returns the unique id of the channel of this entry. |
java.lang.Long |
getWait()
Returns the number of seconds this entry has spent in the queue. |
void |
setCallerId(java.lang.String callerId)
Sets the the Caller*ID number of this entry. |
void |
setCallerIdName(java.lang.String callerIdName)
Sets the Caller*ID name of this entry. |
void |
setChannel(java.lang.String channel)
Sets the name of the channel of this entry. |
void |
setPosition(java.lang.Integer position)
Sets the position of this entry in the queue. |
void |
setQueue(java.lang.String queue)
Sets the name of the queue that contains this entry. |
void |
setUniqueId(java.lang.String uniqueId)
|
void |
setWait(java.lang.Long wait)
Sets the number of seconds this entry has spent in the queue. |
Methods inherited from class org.asteriskjava.manager.event.ResponseEvent |
---|
getActionId, getInternalActionId, setActionId, setInternalActionId |
Methods inherited from class org.asteriskjava.manager.event.ManagerEvent |
---|
appendPropertyIfNotNull, getDateReceived, getFile, getFunc, getLine, getPrivilege, getSequenceNumber, getServer, getTimestamp, setDateReceived, setFile, setFunc, setLine, setPrivilege, setSequenceNumber, 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 QueueEntryEvent(java.lang.Object source)
source
- Method Detail |
---|
public java.lang.String getQueue()
public void setQueue(java.lang.String queue)
public java.lang.Integer getPosition()
public void setPosition(java.lang.Integer position)
public java.lang.String getChannel()
public java.lang.String getUniqueId()
Available since Asterisk 1.6.
public void setUniqueId(java.lang.String uniqueId)
public void setChannel(java.lang.String channel)
public java.lang.String getCallerId()
public void setCallerId(java.lang.String callerId)
callerId
- the the Caller*ID number of this entry.public java.lang.String getCallerIdName()
public void setCallerIdName(java.lang.String callerIdName)
callerIdName
- the Caller*ID name of this entry.public java.lang.Long getWait()
public void setWait(java.lang.Long wait)
|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |