org.csapi.jr.se.dsc
Interface Notification

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

public interface Notification
extends Activity

This interface represents a Notification activity object.


Field Summary
 
Fields inherited from interface org.csapi.jr.se.Activity
ACTIVE_STATE, IDLE_STATE, INVALID_STATE
 
Method Summary
 void addNotificationListener(org.csapi.jr.se.dsc.NotificationListener notificationListener)
          Adds a NotificationListener which is interested in events generated by the Notification.
 void changeNotification(org.csapi.jr.se.dsc.DataSessionEventCriteria eventCriteria)
          Invokes the changeNotification() method on the Parlay Gateway.
 void createNotification(org.csapi.jr.se.dsc.DataSessionEventCriteria eventCriteria)
          Invokes the createNotification() method on the Parlay Gateway.
 void destroyNotification()
          Invokes the destroyNotification() method on the Parlay Gateway.
 org.csapi.jr.se.dsc.DataSessionControlManager getDataSessionControlManager()
          Returns a reference to the DataSessionControlManager responsible for creation of the Notification.
 void removeNotificationListener(org.csapi.jr.se.dsc.NotificationListener notificationListener)
          Removes a NotificationListener which is no longer interested events generated by the Notification.
 
Methods inherited from interface org.csapi.jr.se.Activity
addActivityStateChangeListener, getState, removeActivityStateChangeListener
 

Method Detail

getDataSessionControlManager

public org.csapi.jr.se.dsc.DataSessionControlManager getDataSessionControlManager()
Returns a reference to the DataSessionControlManager responsible for creation of the Notification.

Returns:
A reference to the DataSessionControlManager responsible for creation of the Notification.

addNotificationListener

public void addNotificationListener(org.csapi.jr.se.dsc.NotificationListener notificationListener)
Adds a NotificationListener which is interested in events generated by the Notification.

Parameters:
notificationListener - A reference to the NotificationListener which is to be added as a listener.

removeNotificationListener

public void removeNotificationListener(org.csapi.jr.se.dsc.NotificationListener notificationListener)
Removes a NotificationListener which is no longer interested events generated by the Notification.

Parameters:
notificationListener - A reference to the NotificationListener which is to be removed as a listener.

createNotification

public void createNotification(org.csapi.jr.se.dsc.DataSessionEventCriteria eventCriteria)
                        throws PlatformException,
                               java.lang.IllegalStateException,
                               CommonException,
                               InvalidNetworkStateException,
                               InvalidCriteriaException,
                               InvalidEventTypeException
Invokes the createNotification() method on the Parlay Gateway.

PlatformException
java.lang.IllegalStateException
CommonException
InvalidNetworkStateException
InvalidCriteriaException
InvalidEventTypeException

destroyNotification

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

PlatformException
java.lang.IllegalStateException
CommonException
InvalidNetworkStateException

changeNotification

public void changeNotification(org.csapi.jr.se.dsc.DataSessionEventCriteria eventCriteria)
                        throws PlatformException,
                               java.lang.IllegalStateException,
                               CommonException,
                               InvalidNetworkStateException,
                               InvalidCriteriaException,
                               InvalidEventTypeException
Invokes the changeNotification() method on the Parlay Gateway.

PlatformException
java.lang.IllegalStateException
CommonException
InvalidNetworkStateException
InvalidCriteriaException
InvalidEventTypeException