Package COM.TIBCO.hawk.console.hawkeye
Class PersistenceSubscriptionWrapper
java.lang.Object
COM.TIBCO.hawk.console.hawkeye.PersistenceSubscriptionWrapper
- All Implemented Interfaces:
SubscriptionHandler
-
Method Summary
Modifier and TypeMethodDescriptionvoidonData(Subscription s, MicroAgentData data) This method receives the data for a particular subscription.voidThis method is called when an error causes an interruption in the servicing of a subscription.voidThis method is called when there no longer is an error condition which is interrupting service.voidThis method is called when an error condition causes the subscription to be terminated.
-
Method Details
-
onData
Description copied from interface:SubscriptionHandlerThis method receives the data for a particular subscription.- Specified by:
onDatain interfaceSubscriptionHandler- Parameters:
s- The Subscription object generated when the subscription was made.data- The data produced by the MicroAgent.
-
onError
Description copied from interface:SubscriptionHandlerThis method is called when an error causes an interruption in the servicing of a subscription. Once called, this handler will not receive any more data until onErrorCleared() is called.- Specified by:
onErrorin interfaceSubscriptionHandler- Parameters:
s- The Subscription object generated when the subscription was made.e- An exception identifying the error
-
onErrorCleared
Description copied from interface:SubscriptionHandlerThis method is called when there no longer is an error condition which is interrupting service. It indicates that this subscription can continue to receive data.- Specified by:
onErrorClearedin interfaceSubscriptionHandler- Parameters:
s- The Subscription object generated when the subscription was made.
-
onTermination
Description copied from interface:SubscriptionHandlerThis method is called when an error condition causes the subscription to be terminated.- Specified by:
onTerminationin interfaceSubscriptionHandler- Parameters:
s- The Subscription object generated when the subscription was made.e- An exception identifying the error condition that caused the termination
-