org.asteriskjava.manager.event
Class NewCallerIdEvent
java.lang.Object
java.util.EventObject
org.asteriskjava.manager.event.ManagerEvent
org.asteriskjava.manager.event.AbstractChannelEvent
org.asteriskjava.manager.event.NewCallerIdEvent
- All Implemented Interfaces:
- java.io.Serializable
public class NewCallerIdEvent
- extends AbstractChannelEvent
A NewCallerIdEvent is triggered when the caller id of a channel changes.
It is implemented in channel.c
- Version:
- $Id: NewCallerIdEvent.java 973 2008-02-03 16:21:12Z srt $
- Author:
- srt
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Method Summary |
java.lang.Integer |
getCidCallingPres()
Returns the CallerId presentation/screening. |
java.lang.String |
getCidCallingPresTxt()
Returns the textual respresentation of the CallerId presentation/screening. |
void |
setCidCallingPres(java.lang.String s)
Sets the CallerId presentation/screening in the form "%d (%s)". |
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 |
NewCallerIdEvent
public NewCallerIdEvent(java.lang.Object source)
getCidCallingPres
public java.lang.Integer getCidCallingPres()
- Returns the CallerId presentation/screening.
- Returns:
- the CallerId presentation/screening.
- Since:
- 0.2
getCidCallingPresTxt
public java.lang.String getCidCallingPresTxt()
- Returns the textual respresentation of the CallerId presentation/screening.
- Returns:
- the textual respresentation of the CallerId presentation/screening.
- Since:
- 0.2
setCidCallingPres
public void setCidCallingPres(java.lang.String s)
- Sets the CallerId presentation/screening in the form "%d (%s)".
- Parameters:
s
- the CallerId presentation/screening in the form "%d (%s)".- Since:
- 0.2
Copyright © 2004-2009 Stefan Reuter. All Rights Reserved.