Interface BrokerConnectionCallback


public interface BrokerConnectionCallback
This class is implemented by any object which needs to be registered for client connection callbacks.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleConnectionChange(BrokerClient client, int connect_state, Object client_data)
    Implement this method to handle client connection callbacks.
  • Method Details

    • handleConnectionChange

      void handleConnectionChange(BrokerClient client, int connect_state, Object client_data)
      Implement this method to handle client connection callbacks. State values are BrokerClient.CONNECT_STATE_*.