org.csapi.jr.se.cc.gccs
Interface CallNotification

All Superinterfaces:
Activity, CsapiInterface, java.io.Serializable

public interface CallNotification
extends Activity

This interface represents a CallNotification activity object.


Field Summary
 
Fields inherited from interface org.csapi.jr.se.Activity
ACTIVE_STATE, IDLE_STATE, INVALID_STATE
 
Method Summary
 void addCallNotificationListener(org.csapi.jr.se.cc.gccs.CallNotificationListener callNotificationListener)
          Adds a CallNotificationListener which is interested in events generated by the CallNotification.
 void changeCallNotification(org.csapi.jr.se.cc.gccs.CallEventCriteria eventCriteria)
          Invokes the changeCallNotification() method on the Parlay Gateway.
 void disableCallNotification()
          Invokes the disableCallNotification() method on the Parlay Gateway.
 void enableCallNotification(org.csapi.jr.se.cc.gccs.CallEventCriteria eventCriteria)
          Invokes the enableCallNotification() method on the Parlay Gateway.
 org.csapi.jr.se.cc.gccs.CallControlManager getCallControlManager()
          Returns a reference to the CallControlManager responsible for creation of the CallNotification.
 void removeCallNotificationListener(org.csapi.jr.se.cc.gccs.CallNotificationListener callNotificationListener)
          Removes a CallNotificationListener which is no longer interested events generated by the CallNotification.
 
Methods inherited from interface org.csapi.jr.se.Activity
addActivityStateChangeListener, getState, removeActivityStateChangeListener
 

Method Detail

getCallControlManager

public org.csapi.jr.se.cc.gccs.CallControlManager getCallControlManager()
Returns a reference to the CallControlManager responsible for creation of the CallNotification.

Returns:
A reference to the CallControlManager responsible for creation of the CallNotification.

addCallNotificationListener

public void addCallNotificationListener(org.csapi.jr.se.cc.gccs.CallNotificationListener callNotificationListener)
Adds a CallNotificationListener which is interested in events generated by the CallNotification.

Parameters:
callNotificationListener - A reference to the CallNotificationListener which is to be added as a listener.

removeCallNotificationListener

public void removeCallNotificationListener(org.csapi.jr.se.cc.gccs.CallNotificationListener callNotificationListener)
Removes a CallNotificationListener which is no longer interested events generated by the CallNotification.

Parameters:
callNotificationListener - A reference to the CallNotificationListener which is to be removed as a listener.

enableCallNotification

public void enableCallNotification(org.csapi.jr.se.cc.gccs.CallEventCriteria eventCriteria)
                            throws PlatformException,
                                   java.lang.IllegalStateException,
                                   CommonException,
                                   InvalidCriteriaException,
                                   InvalidInterfaceTypeException,
                                   InvalidEventTypeException
Invokes the enableCallNotification() method on the Parlay Gateway.

PlatformException
java.lang.IllegalStateException
CommonException
InvalidCriteriaException
InvalidInterfaceTypeException
InvalidEventTypeException

disableCallNotification

public void disableCallNotification()
                             throws PlatformException,
                                    java.lang.IllegalStateException,
                                    CommonException
Invokes the disableCallNotification() method on the Parlay Gateway.

PlatformException
java.lang.IllegalStateException
CommonException

changeCallNotification

public void changeCallNotification(org.csapi.jr.se.cc.gccs.CallEventCriteria eventCriteria)
                            throws PlatformException,
                                   java.lang.IllegalStateException,
                                   CommonException,
                                   InvalidCriteriaException,
                                   InvalidEventTypeException
Invokes the changeCallNotification() method on the Parlay Gateway.

PlatformException
java.lang.IllegalStateException
CommonException
InvalidCriteriaException
InvalidEventTypeException