|
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.ResponseEvent
org.asteriskjava.manager.event.StatusEvent
public class StatusEvent
A StatusEvent is triggered for each active channel in response to a StatusAction.
StatusAction,
Serialized Form| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
StatusEvent(java.lang.Object source)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAccount()
Returns the account code of this channel. |
java.lang.String |
getCallerId()
Deprecated. |
java.lang.String |
getCallerIdName()
Returns the Caller*ID Name of this channel. |
java.lang.String |
getCallerIdNum()
Returns the Caller*ID Number of this channel. |
java.lang.String |
getChannel()
Returns the name of this channel. |
java.lang.String |
getContext()
|
java.lang.String |
getExtension()
|
java.lang.String |
getLink()
Returns the name of the linked channel if this channel is bridged. |
java.lang.Integer |
getPriority()
|
java.lang.Integer |
getSeconds()
Returns the number of elapsed seconds. |
java.lang.String |
getState()
|
java.lang.String |
getUniqueId()
Returns the unique id of this channel. |
void |
setAccount(java.lang.String account)
Sets the account code of this channel. |
void |
setCallerId(java.lang.String callerIdNum)
Sets the Caller*ID Number of this channel. |
void |
setCallerIdName(java.lang.String callerIdName)
Sets the Caller*ID Name of this channel. |
void |
setCallerIdNum(java.lang.String callerIdNum)
Sets the Caller*ID Number of this channel. |
void |
setChannel(java.lang.String channel)
Sets the name of this channel. |
void |
setContext(java.lang.String context)
|
void |
setExtension(java.lang.String extension)
|
void |
setLink(java.lang.String link)
Sets the name of the linked channel. |
void |
setPriority(java.lang.Integer priority)
|
void |
setSeconds(java.lang.Integer seconds)
Sets the number of elapsed seconds. |
void |
setState(java.lang.String state)
|
void |
setUniqueId(java.lang.String uniqueId)
Sets the unique id of this channel. |
| Methods inherited from class org.asteriskjava.manager.event.ResponseEvent |
|---|
getActionId, getInternalActionId, setActionId, setInternalActionId |
| Methods inherited from class org.asteriskjava.manager.event.ManagerEvent |
|---|
getDateReceived, getPrivilege, getTimestamp, setDateReceived, setPrivilege, 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 StatusEvent(java.lang.Object source)
| Method Detail |
|---|
public java.lang.String getChannel()
public void setChannel(java.lang.String channel)
channel - the name of this channel.public java.lang.String getCallerId()
This property is deprecated as of Asterisk 1.4, use getCallerIdNum() instead.
public void setCallerId(java.lang.String callerIdNum)
This property is deprecated as of Asterisk 1.4.
callerIdNum - the Caller*ID Number to set.public java.lang.String getCallerIdNum()
public void setCallerIdNum(java.lang.String callerIdNum)
callerIdNum - the Caller*ID Number to set.public java.lang.String getCallerIdName()
public void setCallerIdName(java.lang.String callerIdName)
callerIdName - the Caller*ID Name of this channel.public java.lang.String getAccount()
public void setAccount(java.lang.String account)
account - the account code of this channel.public java.lang.String getState()
public void setState(java.lang.String state)
public java.lang.String getContext()
public void setContext(java.lang.String context)
public java.lang.String getExtension()
public void setExtension(java.lang.String extension)
public java.lang.Integer getPriority()
public void setPriority(java.lang.Integer priority)
public java.lang.Integer getSeconds()
public void setSeconds(java.lang.Integer seconds)
seconds - the number of elapsed seconds.public java.lang.String getLink()
public void setLink(java.lang.String link)
link - the name of the linked channel if this channel is bridged.public java.lang.String getUniqueId()
public void setUniqueId(java.lang.String uniqueId)
uniqueId - the unique id of this channel.
|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||