Interface ConnectionListener

    • Method Detail

      • onChange

        void onChange​(ConnectionState oldState,
                      ConnectionState newState)
        A change in the connection to the server was detected.
        Parameters:
        oldState - the state the connection transitioned from.
        newState - the state the connection transitioned to.