Package | Description |
---|---|
org.apache.mina.filter.codec |
Filter implementations that helps you to implement complex protocols
via 'codec' concept.
|
org.apache.mina.filter.codec.demux |
Protocol codecs that helps you to implement even more complex protocols by
splitting a codec into multiple sub-codecs.
|
org.apache.mina.filter.codec.netty |
Protocol codec which provides the integration with Netty2 messages.
|
org.apache.mina.filter.codec.serialization |
Protocol codecs which uses Java object serilization and leads to rapid protocol
implementation.
|
org.apache.mina.filter.codec.textline |
A protocol codec for text-based protocols.
|
Modifier and Type | Method and Description |
---|---|
void |
SynchronizedProtocolDecoder.decode(IoSession session,
ByteBuffer in,
ProtocolDecoderOutput out) |
void |
ProtocolDecoder.decode(IoSession session,
ByteBuffer in,
ProtocolDecoderOutput out)
Decodes binary or protocol-specific content into higher-level message objects.
|
void |
CumulativeProtocolDecoder.decode(IoSession session,
ByteBuffer in,
ProtocolDecoderOutput out)
Cumulates content of in into internal buffer and forwards
decoding request to
CumulativeProtocolDecoder.doDecode(IoSession, ByteBuffer, ProtocolDecoderOutput) . |
protected abstract boolean |
CumulativeProtocolDecoder.doDecode(IoSession session,
ByteBuffer in,
ProtocolDecoderOutput out)
Implement this method to consume the specified cumulative buffer and
decode its content into message(s).
|
void |
SynchronizedProtocolDecoder.finishDecode(IoSession session,
ProtocolDecoderOutput out) |
void |
ProtocolDecoderAdapter.finishDecode(IoSession session,
ProtocolDecoderOutput out)
Override this method to deal with the closed connection.
|
void |
ProtocolDecoder.finishDecode(IoSession session,
ProtocolDecoderOutput out)
Invoked when the specified session is closed.
|
Modifier and Type | Method and Description |
---|---|
MessageDecoderResult |
MessageDecoder.decode(IoSession session,
ByteBuffer in,
ProtocolDecoderOutput out)
Decodes binary or protocol-specific content into higher-level message objects.
|
void |
MessageDecoderAdapter.finishDecode(IoSession session,
ProtocolDecoderOutput out)
Override this method to deal with the closed connection.
|
void |
MessageDecoder.finishDecode(IoSession session,
ProtocolDecoderOutput out)
Invoked when the specified session is closed while this decoder was
parsing the data.
|
Modifier and Type | Method and Description |
---|---|
void |
NettyDecoder.decode(IoSession session,
ByteBuffer in,
ProtocolDecoderOutput out) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
ObjectSerializationDecoder.doDecode(IoSession session,
ByteBuffer in,
ProtocolDecoderOutput out) |
Modifier and Type | Method and Description |
---|---|
void |
TextLineDecoder.decode(IoSession session,
ByteBuffer in,
ProtocolDecoderOutput out) |
void |
TextLineDecoder.finishDecode(IoSession session,
ProtocolDecoderOutput out) |
Copyright © 2004-2019 Apache MINA Project. All Rights Reserved.