public class QueueEntryEvent extends ResponseEvent
It is implemented in apps/app_queue.c
QueueStatusAction
,
Serialized FormcallerIdName, callerIdNum, channelState, channelStateDesc, connectedLineName, connectedLineNum, context, exten, priority
source
Constructor and Description |
---|
QueueEntryEvent(Object source) |
Modifier and Type | Method and Description |
---|---|
String |
getCallerId()
Returns the the Caller*ID number of this entry.
|
String |
getChannel()
Returns the name of the channel of this entry.
|
Integer |
getPosition()
Returns the position of this entry in the queue.
|
String |
getQueue()
Returns the name of the queue that contains this entry.
|
String |
getUniqueId()
Returns the unique id of the channel of this entry.
|
Long |
getWait()
Returns the number of seconds this entry has spent in the queue.
|
void |
setCallerId(String callerId)
Sets the the Caller*ID number of this entry.
|
void |
setChannel(String channel)
Sets the name of the channel of this entry.
|
void |
setPosition(Integer position)
Sets the position of this entry in the queue.
|
void |
setQueue(String queue)
Sets the name of the queue that contains this entry.
|
void |
setUniqueId(String uniqueId) |
void |
setWait(Long wait)
Sets the number of seconds this entry has spent in the queue.
|
getActionId, getInternalActionId, setActionId, setInternalActionId
appendPropertyIfNotNull, getCallerIdName, getCallerIdNum, getChannelState, getChannelStateDesc, getConnectedLineName, getConnectedLineNum, getContext, getDateReceived, getExten, getFile, getFunc, getLine, getPriority, getPrivilege, getSequenceNumber, getServer, getSystemName, getTimestamp, setCallerIdName, setCallerIdNum, setChannelState, setChannelStateDesc, setConnectedLineName, setConnectedLineNum, setContext, setDateReceived, setExten, setFile, setFunc, setLine, setPriority, setPrivilege, setSequenceNumber, setServer, setSystemName, setTimestamp, toString
getSource
public QueueEntryEvent(Object source)
source
- public String getQueue()
public void setQueue(String queue)
public Integer getPosition()
public void setPosition(Integer position)
public String getChannel()
public String getUniqueId()
Available since Asterisk 1.6.
public void setUniqueId(String uniqueId)
public void setChannel(String channel)
channel
- the name of the channel of this entry.public String getCallerId()
public void setCallerId(String callerId)
callerId
- the the Caller*ID number of this entry.public Long getWait()
public void setWait(Long wait)
Copyright © 2004–2020. All rights reserved.