Package org.jboss.netty.handler.codec.marshalling
Decoder and Encoder which uses JBoss Marshalling.
-
Interface Summary Interface Description MarshallerProvider This provider is responsible to get aMarshallerfor the givenChannelHandlerContext.UnmarshallerProvider This provider is responsible to get anUnmarshallerfor aChannelHandlerContext -
Class Summary Class Description ChannelBufferByteInput ByteInputimplementation which reads its data from aChannelBufferChannelBufferByteOutput ByteOutputimplementation which writes the data to aChannelBufferCompatibleMarshallingDecoder CompatibleMarshallingEncoder OneToOneEncoderimplementation which uses JBoss Marshalling to marshal an Object.ContextBoundUnmarshallerProvider UnmarshallerProviderwhich store a reference to theUnmarshallerin theChannelHandlerContextvia theChannelHandlerContext.setAttachment(Object)method.DefaultMarshallerProvider Default implementation ofMarshallerProviderwhich just create a newMarshalleron everDefaultMarshallerProvider.getMarshaller(ChannelHandlerContext)call.DefaultUnmarshallerProvider Default implementation ofUnmarshallerProviderwhich will just create a newUnmarshalleron every call toDefaultUnmarshallerProvider.getUnmarshaller(ChannelHandlerContext)LimitingByteInput ByteInputimplementation which wraps anotherByteInputand throws aLimitingByteInput.TooBigObjectExceptionif the read limit was reached.MarshallingDecoder Decoder which MUST be used withMarshallingEncoder.MarshallingEncoder OneToOneEncoderimplementation which uses JBoss Marshalling to marshal an Object.ThreadLocalMarshallerProvider UnmarshallerProviderimplementation which use aThreadLocalto store references toMarshallerinstances.ThreadLocalUnmarshallerProvider UnmarshallerProviderimplementation which use aThreadLocalto store references toUnmarshallerinstances. -
Exception Summary Exception Description LimitingByteInput.TooBigObjectException Exception that will get thrown if theObjectis to big to unmarshall