Class PersistenceSubscriptionWrapper

java.lang.Object
COM.TIBCO.hawk.console.hawkeye.PersistenceSubscriptionWrapper
All Implemented Interfaces:
SubscriptionHandler

public class PersistenceSubscriptionWrapper extends Object implements SubscriptionHandler
  • Method Details

    • onData

      public void onData(Subscription s, MicroAgentData data)
      Description copied from interface: SubscriptionHandler
      This method receives the data for a particular subscription.
      Specified by:
      onData in interface SubscriptionHandler
      Parameters:
      s - The Subscription object generated when the subscription was made.
      data - The data produced by the MicroAgent.
    • onError

      public void onError(Subscription s, MicroAgentException e)
      Description copied from interface: SubscriptionHandler
      This 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:
      onError in interface SubscriptionHandler
      Parameters:
      s - The Subscription object generated when the subscription was made.
      e - An exception identifying the error
    • onErrorCleared

      public void onErrorCleared(Subscription s)
      Description copied from interface: SubscriptionHandler
      This 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:
      onErrorCleared in interface SubscriptionHandler
      Parameters:
      s - The Subscription object generated when the subscription was made.
    • onTermination

      public void onTermination(Subscription s, MicroAgentException e)
      Description copied from interface: SubscriptionHandler
      This method is called when an error condition causes the subscription to be terminated.
      Specified by:
      onTermination in interface SubscriptionHandler
      Parameters:
      s - The Subscription object generated when the subscription was made.
      e - An exception identifying the error condition that caused the termination