|
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
org.asteriskjava.manager.event.JoinEvent
public class JoinEvent
A JoinEvent is triggered when a channel joines a queue.
It is implemented in apps/app_queue.c
| Field Summary | |
|---|---|
protected java.lang.String |
callerIdName
|
protected java.lang.String |
callerIdNum
|
protected java.lang.Integer |
position
|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
JoinEvent(java.lang.Object source)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCallerId()
Deprecated. since 1.0.0, use getCallerIdNum() instead. |
java.lang.String |
getCallerIdName()
Returns the Caller*ID name of the channel that joined the queue if set. |
java.lang.String |
getCallerIdNum()
Returns the Caller*ID number of the channel that joined the queue if set. |
java.lang.Integer |
getPosition()
Returns the position of the joined channel in the queue. |
void |
setCallerId(java.lang.String callerId)
Sets the Caller*ID number of the channel that joined the queue. |
void |
setCallerIdName(java.lang.String callerIdName)
Sets the Caller*ID name of the channel that joined the queue. |
void |
setCallerIdNum(java.lang.String callerIdNum)
Sets the Caller*ID number of the channel that joined the queue. |
void |
setPosition(java.lang.Integer position)
Sets the position of the joined channel in the queue. |
| Methods inherited from class org.asteriskjava.manager.event.QueueEvent |
|---|
getChannel, getCount, getQueue, getUniqueId, setChannel, setCount, setQueue, setUniqueId |
| 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 |
| Field Detail |
|---|
protected java.lang.String callerIdNum
protected java.lang.String callerIdName
protected java.lang.Integer position
| Constructor Detail |
|---|
public JoinEvent(java.lang.Object source)
| Method Detail |
|---|
public java.lang.String getCallerId()
getCallerIdNum() instead.
public void setCallerId(java.lang.String callerId)
callerId - the Caller*ID number of the channel that joined the queue.public java.lang.String getCallerIdNum()
public void setCallerIdNum(java.lang.String callerIdNum)
callerIdNum - the Caller*ID number of the channel that joined the queue.public java.lang.String getCallerIdName()
public void setCallerIdName(java.lang.String callerIdName)
public java.lang.Integer getPosition()
public void setPosition(java.lang.Integer position)
|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||