Interface SocketIOOutbound

    • Method Detail

      • disconnect

        void disconnect()
        disconnect the current connection
      • close

        void close()
        force close connection
      • sendMessage

        void sendMessage​(java.lang.String message)
                  throws SocketIOException
        Send a message to the client. If the session is still active, the message will be cached if the connection is closed.
        Parameters:
        message - The message to send
        Throws:
        SocketIOException
      • sendMessage

        void sendMessage​(SocketIOPacket packet)
                  throws SocketIOException
        Send a message to the client formatted is SocketIO format. If the session is still active, the message will be cached if the connection is closed.
        Parameters:
        packet - The message to send
        Throws:
        SocketIOException
      • sendMessage

        void sendMessage​(java.util.List<SocketIOPacketImpl> messages)
                  throws SocketIOException
        Send messages to the client. If the session is still active, the messages will be cached if the connection is closed.
        Parameters:
        packet - The message to send
        Throws:
        SocketIOException