Package | Description |
---|---|
org.apache.mina.examples.sumup.codec | |
org.apache.mina.protocol.codec |
Useful
ProtocolEncoder and ProtocolDecoder implementations. |
Modifier and Type | Method and Description |
---|---|
MessageDecoderResult |
AbstractMessageDecoder.decodable(ProtocolSession session,
ByteBuffer in) |
MessageDecoderResult |
AbstractMessageDecoder.decode(ProtocolSession session,
ByteBuffer in,
ProtocolDecoderOutput out) |
Modifier and Type | Field and Description |
---|---|
static MessageDecoderResult |
MessageDecoderResult.NEED_DATA
|
static MessageDecoderResult |
MessageDecoder.NEED_DATA
|
static MessageDecoderResult |
MessageDecoderResult.NOT_OK
|
static MessageDecoderResult |
MessageDecoder.NOT_OK
|
static MessageDecoderResult |
MessageDecoderResult.OK
|
static MessageDecoderResult |
MessageDecoder.OK
|
Modifier and Type | Method and Description |
---|---|
MessageDecoderResult |
MessageDecoder.decodable(ProtocolSession session,
ByteBuffer in)
Checks the specified buffer is decodable by this decoder.
|
MessageDecoderResult |
MessageDecoder.decode(ProtocolSession session,
ByteBuffer in,
ProtocolDecoderOutput out)
Decodes binary or protocol-specific content into higher-level message objects.
|