org.csapi.jr.se.fw.fw_application.notification
Interface AppEventNotification

All Superinterfaces:
CsapiInterface, java.io.Serializable

public interface AppEventNotification
extends CsapiInterface

This interface is used by the framework to inform the application of a generic service-related event. The Event Notification Framework will invoke methods on the Event Notification Application Interface that is specified when the Event Notification interface is obtained.


Method Summary
 void notificationTerminated()
          This method indicates to the application that all generic event notifications have been terminated (for example, due to faults detected).
 void reportNotification(org.csapi.jr.se.fw.FwEventInfo eventInfo, int assignmentID)
          This method notifies the application of the arrival of a generic event.
 

Method Detail

reportNotification

public void reportNotification(org.csapi.jr.se.fw.FwEventInfo eventInfo,
                               int assignmentID)
This method notifies the application of the arrival of a generic event.

Parameters:
eventInfo - Specifies specific data associated with this event.
assignmentID - Specifies the assignment id which was returned by the framework during the createNotification() method. The application can use assignment id to associate events with event specific criteria and to act accordingly.

notificationTerminated

public void notificationTerminated()
This method indicates to the application that all generic event notifications have been terminated (for example, due to faults detected).