T- The message type
public interface MessageEncoder<T>
We didn't provide any dispose method for
because it can give you performance penalty in case you have a lot of
message types to handle.
void encode(IoSession session, T message, ProtocolEncoderOutput out) throws Exception
encode(IoSession, Object, ProtocolEncoderOutput)method with message which is popped from the session write queue, and then the encoder implementation puts encoded
Copyright © 2004–2018 Apache MINA Project. All rights reserved.