org.csapi.jr.se.dsc
Interface Notifications

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

public interface Notifications
extends Activity

This interface represents a Notifications activity object.


Field Summary
 
Fields inherited from interface org.csapi.jr.se.Activity
ACTIVE_STATE, IDLE_STATE, INVALID_STATE
 
Method Summary
 void addNotificationsListener(NotificationsListener notificationsListener)
          Adds a NotificationsListener which is interested in events generated by the Notifications.
 void changeNotification(DataSessionEventCriteria eventCriteria)
          Invokes the changeNotification() method on the Parlay Gateway.
 void createNotifications(DataSessionEventCriteria eventCriteria)
          Invokes the createNotifications() method on the Parlay Gateway.
 void destroyNotification()
          Invokes the destroyNotification() method on the Parlay Gateway.
 void enableNotifications()
          Invokes the enableNotifications() method on the Parlay Gateway.
 DataSessionControlManager getDataSessionControlManager()
          Returns a reference to the DataSessionControlManager responsible for creation of the Notifications.
 void removeNotificationsListener(NotificationsListener notificationsListener)
          Removes a NotificationsListener which is no longer interested events generated by the Notifications.
 
Methods inherited from interface org.csapi.jr.se.Activity
addActivityStateChangeListener, getState, removeActivityStateChangeListener
 

Method Detail

getDataSessionControlManager

public DataSessionControlManager getDataSessionControlManager()
Returns a reference to the DataSessionControlManager responsible for creation of the Notifications.

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

addNotificationsListener

public void addNotificationsListener(NotificationsListener notificationsListener)
Adds a NotificationsListener which is interested in events generated by the Notifications.

Parameters:
notificationsListener - A reference to the NotificationsListener which is to be added as a listener.

removeNotificationsListener

public void removeNotificationsListener(NotificationsListener notificationsListener)
Removes a NotificationsListener which is no longer interested events generated by the Notifications.

Parameters:
notificationsListener - A reference to the NotificationsListener which is to be removed as a listener.

enableNotifications

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

Throws:
PlatformException
java.lang.IllegalStateException
CommonException

createNotifications

public void createNotifications(DataSessionEventCriteria eventCriteria)
                         throws PlatformException,
                                java.lang.IllegalStateException,
                                CommonException,
                                InvalidNetworkStateException,
                                InvalidCriteriaException,
                                InvalidEventTypeException,
                                InvalidInterfaceTypeException
Invokes the createNotifications() method on the Parlay Gateway.

Throws:
PlatformException
java.lang.IllegalStateException
CommonException
InvalidNetworkStateException
InvalidCriteriaException
InvalidEventTypeException
InvalidInterfaceTypeException

destroyNotification

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

Throws:
PlatformException
java.lang.IllegalStateException
CommonException
InvalidNetworkStateException

changeNotification

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

Throws:
PlatformException
java.lang.IllegalStateException
CommonException
InvalidNetworkStateException
InvalidCriteriaException
InvalidEventTypeException