getDecoder(IoSession session) Returns a new (or reusable) instance of
ProtocolDecoder which
decodes binary or protocol-specific data into message objects.
getEncoder(IoSession session) Returns a new (or reusable) instance of
ProtocolEncoder which
encodes message objects into binary or protocol-specific data.