INPUT
- the incoming message to encode (your high level protocol Pojo/DTO)OUTPUT
- the encoded message (the low level message, usually a ByteBuffer
)public interface StatelessProtocolEncoder<INPUT,OUTPUT> extends ProtocolEncoder<INPUT,OUTPUT,Void>
ProtocolEncoder
: no context stored for the different sessions.createEncoderState, encode
Copyright © 2009–2013 Apache MINA Project. All rights reserved.