Interface MessageHandler<M>

    • Method Detail

      • handleMessage

        void handleMessage​(IoSession session,
                           M message)
                    throws Exception
        Invoked when the specific type of message is received from or sent to the specified session.
        Parameters:
        session - the associated IoSession
        message - the message to decode. Its type is set by the implementation
        Throws:
        Exception - if there is an error during the message processing