|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Decodes binary or protocol-specific data into higher-level message objects.
MINA invokes decode(ProtocolSession, ByteBuffer, ProtocolDecoderOutput)
method with read data, and then the decoder implementation puts decoded
messages into ProtocolDecoderOutput by calling
ProtocolDecoderOutput.write(Object).
Please refer to
TextLineDecoder
example.
| Method Summary | |
void |
decode(ProtocolSession session,
ByteBuffer in,
ProtocolDecoderOutput out)
Decodes binary or protocol-specific content into higher-level message objects. |
| Method Detail |
public void decode(ProtocolSession session,
ByteBuffer in,
ProtocolDecoderOutput out)
throws ProtocolViolationException
decode(ProtocolSession, ByteBuffer, ProtocolDecoderOutput)
method with read data, and then the decoder implementation puts decoded
messages into ProtocolDecoderOutput.
ProtocolViolationException - if the read data violated protocol
specification
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||