Package org.jboss.netty.handler.codec.marshalling
package org.jboss.netty.handler.codec.marshalling
Decoder and Encoder which uses JBoss Marshalling.
-
ClassDescription
ByteInput
implementation which reads its data from aChannelBuffer
ByteOutput
implementation which writes the data to aChannelBuffer
OneToOneEncoder
implementation which uses JBoss Marshalling to marshal an Object.UnmarshallerProvider
which store a reference to theUnmarshaller
in theChannelHandlerContext
via theChannelHandlerContext.setAttachment(Object)
method.Default implementation ofMarshallerProvider
which just create a newMarshaller
on everDefaultMarshallerProvider.getMarshaller(ChannelHandlerContext)
call.Default implementation ofUnmarshallerProvider
which will just create a newUnmarshaller
on every call toDefaultUnmarshallerProvider.getUnmarshaller(ChannelHandlerContext)
ByteInput
implementation which wraps anotherByteInput
and throws aLimitingByteInput.TooBigObjectException
if the read limit was reached.Exception that will get thrown if theObject
is to big to unmarshallThis provider is responsible to get aMarshaller
for the givenChannelHandlerContext
.Decoder which MUST be used withMarshallingEncoder
.OneToOneEncoder
implementation which uses JBoss Marshalling to marshal an Object.UnmarshallerProvider
implementation which use aThreadLocal
to store references toMarshaller
instances.UnmarshallerProvider
implementation which use aThreadLocal
to store references toUnmarshaller
instances.This provider is responsible to get anUnmarshaller
for aChannelHandlerContext