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 | Class and 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 and Description |
---|---|
ProtocolDecoder |
SynchronizedProtocolDecoder.getDecoder()
Returns the decoder this decoder is decorating.
|
ProtocolDecoder |
ProtocolCodecFactory.getDecoder()
Returns a new (or reusable) instance of
ProtocolDecoder which
decodes binary or protocol-specific data into message objects. |
Constructor and Description |
---|
ProtocolCodecFilter(ProtocolEncoder encoder,
ProtocolDecoder decoder) |
SynchronizedProtocolDecoder(ProtocolDecoder decoder)
Creates a new instance which decorates the specified decoder.
|
Modifier and Type | Method and Description |
---|---|
ProtocolDecoder |
DemuxingProtocolCodecFactory.getDecoder() |
Modifier and Type | Class and Description |
---|---|
class |
NettyDecoder
A MINA
ProtocolDecoder that decodes byte buffers into
Netty2 Message s using specified MessageRecognizer s. |
Modifier and Type | Method and Description |
---|---|
ProtocolDecoder |
NettyCodecFactory.getDecoder() |
Modifier and Type | Class and Description |
---|---|
class |
ObjectSerializationDecoder
A
ProtocolDecoder which deserializes Serializable Java
objects using ByteBuffer.getObject(ClassLoader) . |
Modifier and Type | Method and Description |
---|---|
ProtocolDecoder |
ObjectSerializationCodecFactory.getDecoder() |
Modifier and Type | Class and Description |
---|---|
class |
TextLineDecoder
A
ProtocolDecoder which decodes a text line into a string. |
Modifier and Type | Method and Description |
---|---|
ProtocolDecoder |
TextLineCodecFactory.getDecoder() |
Copyright © 2004-2019 Apache MINA Project. All Rights Reserved.