Class OneToOneDecoder

    • Constructor Detail

      • OneToOneDecoder

        protected OneToOneDecoder()
        Creates a new instance with the current system character set.
    • Method Detail

      • decode

        protected abstract java.lang.Object decode​(ChannelHandlerContext ctx,
                                                   Channel channel,
                                                   java.lang.Object msg)
                                            throws java.lang.Exception
        Transforms the specified received message into another message and return the transformed message. Return null if the received message is supposed to be discarded.
        Throws:
        java.lang.Exception