Package | Description |
---|---|
org.apache.mina.examples.sumup.codec | |
org.apache.mina.protocol |
High-level protocol implementation layer (Protocol layer).
|
org.apache.mina.protocol.codec |
Useful
ProtocolEncoder and ProtocolDecoder implementations. |
Modifier and Type | Method and Description |
---|---|
MessageDecoderResult |
AbstractMessageDecoder.decode(ProtocolSession session,
ByteBuffer in,
ProtocolDecoderOutput out) |
Modifier and Type | Class and Description |
---|---|
class |
SimpleProtocolDecoderOutput
A
ProtocolDecoderOutput based on queue. |
Modifier and Type | Method and Description |
---|---|
void |
ProtocolDecoder.decode(ProtocolSession session,
ByteBuffer in,
ProtocolDecoderOutput out)
Decodes binary or protocol-specific content into higher-level message objects.
|
Modifier and Type | Method and Description |
---|---|
void |
CumulativeProtocolDecoder.decode(ProtocolSession session,
ByteBuffer in,
ProtocolDecoderOutput out)
Cumulates content of in into internal buffer and forwards
decoding request to
CumulativeProtocolDecoder.doDecode(ProtocolSession, ByteBuffer, ProtocolDecoderOutput) . |
MessageDecoderResult |
MessageDecoder.decode(ProtocolSession session,
ByteBuffer in,
ProtocolDecoderOutput out)
Decodes binary or protocol-specific content into higher-level message objects.
|
protected abstract boolean |
CumulativeProtocolDecoder.doDecode(ProtocolSession session,
ByteBuffer in,
ProtocolDecoderOutput out)
Implement this method to consume the specified cumulative buffer and
decode its content into message(s).
|