Interface BridgeEvent

    • Method Detail

      • setRawMessage

        BridgeEvent setRawMessage​(JsonObject message)
        Get the raw JSON message for the event. This will be null for SOCKET_CREATED or SOCKET_CLOSED events as there is no message involved.
        Specified by:
        setRawMessage in interface BaseBridgeEvent
        Parameters:
        message - the raw message
        Returns:
        this reference, so it can be used fluently
      • socket

        NetSocket socket()
        Get the SockJSSocket instance corresponding to the event
        Returns:
        the SockJSSocket instance