Encodes higher-level message objects into binary or protocol-specific data. MINA invokes {@link #encode(ProtocolSession,Object,ProtocolEncoderOutput)}method with message which is popped from the session write queue, and then the encoder implementation puts encoded {@link ByteBuffer}s into {@link ProtocolEncoderOutput}.
@throws ProtocolViolationException if the message violated protocolspecification
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.