|
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 String |
callerIdName
|
protected String |
callerIdNum
|
protected Integer |
position
|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
JoinEvent(Object source)
|
|
| Method Summary | |
|---|---|
String |
getCallerId()
Deprecated. since 1.0.0, use getCallerIdNum() instead. |
String |
getCallerIdName()
Returns the Caller*ID name of the channel that joined the queue if set. |
String |
getCallerIdNum()
Returns the Caller*ID number of the channel that joined the queue if set. |
Integer |
getPosition()
Returns the position of the joined channel in the queue. |
void |
setCallerId(String callerId)
Sets the Caller*ID number of the channel that joined the queue. |
void |
setCallerIdName(String callerIdName)
Sets the Caller*ID name of the channel that joined the queue. |
void |
setCallerIdNum(String callerIdNum)
Sets the Caller*ID number of the channel that joined the queue. |
void |
setPosition(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 |
|---|
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 |
| Field Detail |
|---|
protected String callerIdNum
protected String callerIdName
protected Integer position
| Constructor Detail |
|---|
public JoinEvent(Object source)
| Method Detail |
|---|
public String getCallerId()
getCallerIdNum() instead.
public void setCallerId(String callerId)
callerId - the Caller*ID number of the channel that joined the queue.public String getCallerIdNum()
public void setCallerIdNum(String callerIdNum)
callerIdNum - the Caller*ID number of the channel that joined the queue.public String getCallerIdName()
public void setCallerIdName(String callerIdName)
public Integer getPosition()
public void setPosition(Integer position)
|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||