Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package org.apache.mina.filter.codec

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

See:
Description

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 `ByteBuffer`s.

Class Summary
CumulativeProtocolDecoder | A `ProtocolDecoder` that cumulates the content of received buffers to a cumulative buffer to help users implement decoders.
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.
ProtocolEncoderAdapter | An abstract `ProtocolEncoder` implementation for those who don't have any resources to dispose.
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.

Exception Summary
ProtocolCodecException | An exception that is thrown when `ProtocolEncoder` or `ProtocolDecoder` cannot understand or failed to validate data to process.
ProtocolDecoderException | An exception that is thrown when `ProtocolDecoder` cannot understand or failed to validate the specified `ByteBuffer` content.
ProtocolEncoderException | An exception that is thrown when `ProtocolEncoder` cannot understand or failed to validate the specified message object.

## Package org.apache.mina.filter.codec Description

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

Copyright © 2004-2008 Apache MINA Project. All Rights Reserved.