cnrg.itx.gtwy.pbx
Class MyCallObserver

java.lang.Object
  |
  +--cnrg.itx.gtwy.pbx.MyCallObserver

public class MyCallObserver
extends java.lang.Object
implements javax.telephony.CallObserver

Class that observes a Call. If a call observer is attached to a call, and if logging is turned on, then status messages will be printed to the terminal indicating progress of the call.


Field Summary
private  boolean LOG
           
private static java.lang.String ME
           
 
Constructor Summary
MyCallObserver()
          Default constructor
MyCallObserver(boolean logging)
          Constructor that specifies setting for logging.
 
Method Summary
 void callChangedEvent(javax.telephony.events.CallEv[] e)
          Alerts observer that state of telephone call has changed.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

ME

private static final java.lang.String ME

LOG

private boolean LOG
Constructor Detail

MyCallObserver

public MyCallObserver(boolean logging)
Constructor that specifies setting for logging.

MyCallObserver

public MyCallObserver()
Default constructor
Method Detail

callChangedEvent

public void callChangedEvent(javax.telephony.events.CallEv[] e)
Alerts observer that state of telephone call has changed. Extensive information about terminal and address is printed, along with description of the new state.
Specified by:
callChangedEvent in interface javax.telephony.CallObserver