|
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.QueueEvent
public abstract class QueueEvent
Abstract base class providing common properties for JoinEvent and LeaveEvent.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
QueueEvent(java.lang.Object source)
|
Method Summary | |
---|---|
java.lang.String |
getChannel()
Returns the name of the channel that joines or leaves the queue. |
java.lang.Integer |
getCount()
Returns the number of elements in the queue, i.e. |
java.lang.String |
getQueue()
Returns the name of the queue. |
java.lang.String |
getUniqueId()
Returns the unique id of the channel that joines or leaves the queue. |
void |
setChannel(java.lang.String channel)
Sets the name of the channel that joines or leaves the queue. |
void |
setCount(java.lang.Integer count)
Sets the number of elements in the queue. |
void |
setQueue(java.lang.String queue)
Sets the name of the queue. |
void |
setUniqueId(java.lang.String uniqueId)
Sets the unique id of the channel that joines or leaves the queue. |
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 QueueEvent(java.lang.Object source)
source
- Method Detail |
---|
public java.lang.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(java.lang.String uniqueId)
uniqueId
- the unique id of the channel that joines or leaves the queue.public java.lang.String getChannel()
public void setChannel(java.lang.String channel)
public java.lang.Integer getCount()
public void setCount(java.lang.Integer count)
public java.lang.String getQueue()
public void setQueue(java.lang.String queue)
|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |