Interface ITransportHandler<Con>

    • Method Detail

      • messageReceived

        void messageReceived​(Con con,
                             byte[] header,
                             byte[] body)
        Deliver a received message.
        Parameters:
        con - The connection.
        header - The message header.
        body - The message body.
      • connectionEstablished

        void connectionEstablished​(Con con)
        Called when a server connection is established.
        Parameters:
        con - The connection.
      • connectionClosed

        void connectionClosed​(Con con,
                              java.lang.Exception e)
        Called when a connection is closed.
        Parameters:
        con - The connection.
        e - The exception, if any.