Interface BrokerCallback

  • All Known Implementing Classes:
    BrokerCBWait

    public interface BrokerCallback
    This class is implemented by any object which needs to be registered for Information Broker event callbacks.
    • Method Detail

      • handleBrokerEvent

        boolean handleBrokerEvent​(BrokerClient client,
                                  BrokerEvent event,
                                  java.lang.Object client_data)
        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.