Interface MessageHandler<E>

    • Field Detail

      • NOOP

        static final MessageHandler<java.lang.Object> NOOP
        A MessageHandler that does nothing. This is usefule when you want to ignore messages of the specific type silently.
    • Method Detail

      • messageReceived

        void messageReceived​(IoSession session,
                             E message)
                      throws java.lang.Exception
        Invoked when the specific type of message is received from the specified session.
        Throws:
        java.lang.Exception