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.prefixedstring | |
org.apache.mina.filter.codec.serialization |
Protocol codecs which uses Java object serilization and leads to rapid protocol implementation.
|
org.apache.mina.filter.codec.statemachine | |
org.apache.mina.filter.codec.textline |
A protocol codec for text-based protocols.
|
Modifier and Type | Class | Description |
---|---|---|
class |
CumulativeProtocolDecoder |
A
ProtocolDecoder that cumulates the content of received buffers to a
cumulative buffer to help users implement decoders. |
class |
ProtocolDecoderAdapter |
An abstract
ProtocolDecoder implementation for those who don't need
finishDecode(IoSession, ProtocolDecoderOutput) nor
dispose(IoSession) method. |
class |
SynchronizedProtocolDecoder |
A
ProtocolDecoder implementation which decorates an existing decoder
to be thread-safe. |
Modifier and Type | Method | Description |
---|---|---|
ProtocolDecoder |
ProtocolCodecFactory.getDecoder(IoSession session) |
Returns a new (or reusable) instance of
ProtocolDecoder which
decodes binary or protocol-specific data into message objects. |
ProtocolDecoder |
SynchronizedProtocolDecoder.getDecoder() |
Constructor | Description |
---|---|
ProtocolCodecFilter(ProtocolEncoder encoder,
ProtocolDecoder decoder) |
Creates a new instance of ProtocolCodecFilter, without any factory.
|
SynchronizedProtocolDecoder(ProtocolDecoder decoder) |
Creates a new instance which decorates the specified decoder.
|
Modifier and Type | Class | Description |
---|---|---|
class |
DemuxingProtocolDecoder |
A composite
ProtocolDecoder that demultiplexes incoming IoBuffer
decoding requests into an appropriate MessageDecoder . |
Modifier and Type | Method | Description |
---|---|---|
ProtocolDecoder |
DemuxingProtocolCodecFactory.getDecoder(IoSession session) |
Returns a new (or reusable) instance of
ProtocolDecoder which
decodes binary or protocol-specific data into message objects. |
Modifier and Type | Class | Description |
---|---|---|
class |
PrefixedStringDecoder |
A
ProtocolDecoder which decodes a String using a fixed-length length prefix. |
Modifier and Type | Method | Description |
---|---|---|
ProtocolDecoder |
PrefixedStringCodecFactory.getDecoder(IoSession session) |
Modifier and Type | Class | Description |
---|---|---|
class |
ObjectSerializationDecoder |
A
ProtocolDecoder which deserializes Serializable Java
objects using IoBuffer.getObject(ClassLoader) . |
Modifier and Type | Method | Description |
---|---|---|
ProtocolDecoder |
ObjectSerializationCodecFactory.getDecoder(IoSession session) |
Returns a new (or reusable) instance of
ProtocolDecoder which
decodes binary or protocol-specific data into message objects. |
Modifier and Type | Class | Description |
---|---|---|
class |
DecodingStateProtocolDecoder |
ProtocolDecoder which uses a DecodingState to decode data. |
Modifier and Type | Class | Description |
---|---|---|
class |
TextLineDecoder |
A
ProtocolDecoder which decodes a text line into a string. |
Modifier and Type | Method | Description |
---|---|---|
ProtocolDecoder |
TextLineCodecFactory.getDecoder(IoSession session) |
Returns a new (or reusable) instance of
ProtocolDecoder which
decodes binary or protocol-specific data into message objects. |
Copyright © 2004–2018 Apache MINA Project. All rights reserved.