Interface Session.SignalListener

    • Method Detail

      • onSignalReceived

        void onSignalReceived​(Session session,
                              java.lang.String type,
                              java.lang.String data,
                              Connection connection)
        Called when a signal is received in the session.
        Parameters:
        session - The session in which the signal was sent.
        type - The type string of the signal.
        data - The signal data.
        connection - The connection identifying the client that sent the message. This value can be null.