public abstract class QueueEvent extends ManagerEvent
callerIdName, callerIdNum, channelState, channelStateDesc, connectedLineName, connectedLineNum, context, exten, priority
source
Constructor and Description |
---|
QueueEvent(Object source) |
Modifier and Type | Method and Description |
---|---|
String |
getChannel()
Returns the name of the channel that joines or leaves the queue.
|
Integer |
getCount()
Returns the number of elements in the queue, i.e.
|
String |
getQueue()
Returns the name of the queue.
|
String |
getUniqueId()
Returns the unique id of the channel that joines or leaves the queue.
|
void |
setChannel(String channel)
Sets the name of the channel that joines or leaves the queue.
|
void |
setCount(Integer count)
Sets the number of elements in the queue.
|
void |
setQueue(String queue)
Sets the name of the queue.
|
void |
setUniqueId(String uniqueId)
Sets the unique id of the channel that joines or leaves the queue.
|
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 QueueEvent(Object source)
source
- public String getUniqueId()
This property is only available since Asterisk 1.4. Up to Asterisk 1.2
this method always returns null
.
See Asterisk issues 6458 and 7002.
null
if not supported by your Asterisk server.public void setUniqueId(String uniqueId)
uniqueId
- the unique id of the channel that joines or leaves the queue.public String getChannel()
public void setChannel(String channel)
public Integer getCount()
public void setCount(Integer count)
public String getQueue()
public void setQueue(String queue)
Copyright © 2004–2020. All rights reserved.