Class BrokerCBWait

  • All Implemented Interfaces:
    BrokerCallback

    public class BrokerCBWait
    extends java.lang.Object
    implements BrokerCallback
    This class is a data structure and callback object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean handleBrokerEvent​(BrokerClient client, BrokerEvent event, java.lang.Object client_data)
      Implement this method to handle the Information Broker event callbacks.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • done

        public boolean done
      • timeout

        public boolean timeout
      • num

        public int num
    • Method Detail

      • handleBrokerEvent

        public boolean handleBrokerEvent​(BrokerClient client,
                                         BrokerEvent event,
                                         java.lang.Object client_data)
        Description copied from interface: BrokerCallback
        Implement this method to handle the Information Broker event callbacks. The event should not be modified in any way because it may be passed to other callbacks. Callback methods should return true if they want the event acknowledged (as with BrokerClient.acknowledgeThrough). If any function returns false, then the event is not acknowledged.
        Specified by:
        handleBrokerEvent in interface BrokerCallback