Package org.jboss.netty.handler.codec.marshalling
package org.jboss.netty.handler.codec.marshalling
Decoder and Encoder which uses JBoss Marshalling.
-
ClassDescription
ByteInputimplementation which reads its data from aChannelBufferByteOutputimplementation which writes the data to aChannelBufferOneToOneEncoderimplementation which uses JBoss Marshalling to marshal an Object.UnmarshallerProviderwhich store a reference to theUnmarshallerin theChannelHandlerContextvia theChannelHandlerContext.setAttachment(Object)method.Default implementation ofMarshallerProviderwhich just create a newMarshalleron everDefaultMarshallerProvider.getMarshaller(ChannelHandlerContext)call.Default implementation ofUnmarshallerProviderwhich will just create a newUnmarshalleron every call toDefaultUnmarshallerProvider.getUnmarshaller(ChannelHandlerContext)ByteInputimplementation which wraps anotherByteInputand throws aLimitingByteInput.TooBigObjectExceptionif the read limit was reached.Exception that will get thrown if theObjectis to big to unmarshallThis provider is responsible to get aMarshallerfor the givenChannelHandlerContext.Decoder which MUST be used withMarshallingEncoder.OneToOneEncoderimplementation which uses JBoss Marshalling to marshal an Object.UnmarshallerProviderimplementation which use aThreadLocalto store references toMarshallerinstances.UnmarshallerProviderimplementation which use aThreadLocalto store references toUnmarshallerinstances.This provider is responsible to get anUnmarshallerfor aChannelHandlerContext