程序包 | 说明 |
---|---|
org.jboss.netty.handler.codec.marshalling |
Decoder and Encoder which uses JBoss Marshalling.
|
限定符和类型 | 类和说明 |
---|---|
class |
DefaultMarshallerProvider
Default implementation of
MarshallerProvider which just create a new Marshaller
on ever DefaultMarshallerProvider.getMarshaller(ChannelHandlerContext) call. |
class |
ThreadLocalMarshallerProvider
UnmarshallerProvider implementation which use a ThreadLocal to store references
to Marshaller instances. |
构造器和说明 |
---|
CompatibleMarshallingEncoder(MarshallerProvider provider)
Create a new instance of the
CompatibleMarshallingEncoder |
MarshallingEncoder(MarshallerProvider provider)
Creates a new encoder with the estimated length of 512 bytes.
|
MarshallingEncoder(MarshallerProvider provider,
int estimatedLength)
Creates a new encoder.
|