Interface BrokerConnectionCallback


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

      • handleConnectionChange

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