|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
net.sf.asterisk.manager.event.ManagerEvent
net.sf.asterisk.manager.event.QueueEvent
net.sf.asterisk.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 |
callerId
|
protected java.lang.String |
callerIdName
|
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()
Returns the Caller*ID number of the channel that joined the queue if set. |
java.lang.String |
getCallerIdName()
Returns the Caller*ID name 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 |
setPosition(java.lang.Integer position)
Sets the position of the joined channel in the queue. |
| Methods inherited from class net.sf.asterisk.manager.event.QueueEvent |
|---|
getChannel, getCount, getQueue, setChannel, setCount, setQueue |
| Methods inherited from class net.sf.asterisk.manager.event.ManagerEvent |
|---|
getDateReceived, getPrivilege, setDateReceived, setPrivilege, 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 callerId
protected java.lang.String callerIdName
protected java.lang.Integer position
| Constructor Detail |
|---|
public JoinEvent(java.lang.Object source)
source - | Method Detail |
|---|
public java.lang.String getCallerId()
public void setCallerId(java.lang.String callerId)
public java.lang.String getCallerIdName()
public void setCallerIdName(java.lang.String callerIdName)
public java.lang.Integer getPosition()
public void setPosition(java.lang.Integer position)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||