|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject net.sf.asterisk.manager.event.ManagerEvent net.sf.asterisk.manager.event.NewCallerIdEvent
public class NewCallerIdEvent
A NewCallerIdEvent is triggered when the caller id of a channel changes.
It is implemented in channel.c
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
NewCallerIdEvent(java.lang.Object source)
|
Method Summary | |
---|---|
java.lang.String |
getCallerId()
Returns the new caller id. |
java.lang.String |
getCallerIdName()
Returns the new Caller*ID Name if set or "≶Unknown>" if none has been set. |
java.lang.String |
getChannel()
Returns the name of the channel. |
java.lang.Integer |
getCidCallingPres()
Returns the CallerId presentation/screening. |
java.lang.String |
getCidCallingPresTxt()
Returns the textual respresentation of the CallerId presentation/screening. |
java.lang.String |
getUniqueId()
Returns the unique id of the channel. |
void |
setCallerId(java.lang.String callerId)
Sets the new Caller*ID. |
void |
setCallerIdName(java.lang.String callerIdName)
Sets the new Caller*ID Name if set or "≶Unknown>" if none has been set. |
void |
setChannel(java.lang.String channel)
Sets the name of the channel. |
void |
setCidCallingPres(java.lang.String s)
Sets the CallerId presentation/screening in the form "%d (%s)". |
void |
setUniqueId(java.lang.String uniqueId)
Sets the unique id of the channel. |
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 |
Constructor Detail |
---|
public NewCallerIdEvent(java.lang.Object source)
source
- Method Detail |
---|
public java.lang.String getChannel()
public void setChannel(java.lang.String channel)
channel
- the name of the channelpublic java.lang.String getUniqueId()
public void setUniqueId(java.lang.String uniqueId)
uniqueId
- the unique id of the channel.public java.lang.String getCallerId()
public void setCallerId(java.lang.String callerId)
callerId
- the new Caller*ID.public java.lang.String getCallerIdName()
public void setCallerIdName(java.lang.String callerIdName)
callerIdName
- the Caller*ID Name to set.public java.lang.Integer getCidCallingPres()
public java.lang.String getCidCallingPresTxt()
public void setCidCallingPres(java.lang.String s)
s
- the CallerId presentation/screening in the form "%d (%s)".
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |