Package org.jboss.netty.handler.codec.embedder
A helper that wraps an encoder or a decoder so that they can be used without
doing actual I/O in unit tests or higher level codecs.
-
Interface Summary Interface Description CodecEmbedder<E> A helper that wraps an encoder or a decoder (codec) so that they can be used without doing actual I/O in unit tests or higher level codecs. -
Class Summary Class Description AbstractCodecEmbedder<E> A skeletalCodecEmbedder
implementation.AbstractCodecEmbedder.EmbeddedChannelPipeline DecoderEmbedder<E> A helper that wraps a decoder so that it can be used without doing actual I/O in unit tests or higher level codecs.EmbeddedChannel TODO Make EmbeddedChannel implement ChannelConfig and ChannelSink to reduce overhead.EmbeddedChannelFactory EmbeddedSocketAddress EncoderEmbedder<E> A helper that wraps an encoder so that it can be used without doing actual I/O in unit tests or higher level codecs. -
Exception Summary Exception Description CodecEmbedderException ARuntimeException
which is thrown when aCodecEmbedder
failed to encode or decode the specified input.