Hi all,

why is this method declared private ?


    /**
     * Get the decoder instance from a given session.
     *
     * @param session The associated session we will get the decoder from
     * @return The decoder instance
     */
    private ProtocolDecoder getDecoder(IoSession session) {
        return (ProtocolDecoder) session.getAttribute(DECODER);
    }


The getEncoder method is declared public.

Bye,
Norman

Reply via email to