Package org.apache.mina.filter.codec

Filter implementations that helps you to implement complex protocols via 'codec' concept.

Interface Summary

ProtocolCodecFactory Provides ProtocolEncoder and ProtocolDecoder which translates binary or protocol specific data into message object and vice versa.
ProtocolDecoder Decodes binary or protocol-specific data into higher-level message objects.
ProtocolDecoderOutput Callback for ProtocolDecoder to generate decoded messages.
ProtocolEncoder Encodes higher-level message objects into binary or protocol-specific data.
ProtocolEncoderOutput Callback for ProtocolEncoder to generate encoded ByteBuffers.

Class Summary

CumulativeProtocolDecoder A ProtocolDecoder that cumulates the content of received buffers to a cumulative buffer to help users implement decoders.
ProtocolCodecException An exception that is thrown when ProtocolEncoder or ProtocolDecoder cannot understand or failed to validate data to process.
ProtocolCodecFilter An IoFilter which translates binary or protocol specific data into message object and vice versa using ProtocolCodecFactory, ProtocolEncoder, or ProtocolDecoder.
ProtocolDecoderAdapter An abstract ProtocolDecoder implementation for those who don't need ProtocolDecoder.finishDecode(IoSession,ProtocolDecoderOutput) nor ProtocolDecoder.dispose(IoSession) method.
ProtocolDecoderException An exception that is thrown when ProtocolDecoder cannot understand or failed to validate the specified ByteBuffer content.
ProtocolEncoderAdapter An abstract ProtocolEncoder implementation for those who don't have any resources to dispose.
ProtocolEncoderException An exception that is thrown when ProtocolEncoder cannot understand or failed to validate the specified message object.
SynchronizedProtocolDecoder A ProtocolDecoder implementation which decorates an existing decoder to be thread-safe.
SynchronizedProtocolEncoder A ProtocolEncoder implementation which decorates an existing encoder to be thread-safe.
Filter implementations that helps you to implement complex protocols via 'codec' concept.