Class MarshallingEncoder

All Implemented Interfaces:
ChannelHandler, ChannelOutboundHandler

@Sharable public class MarshallingEncoder extends MessageToByteEncoder<Object>
MessageToByteEncoder implementation which uses JBoss Marshalling to marshal an Object. Be aware that this encoder is not compatible with an other client that just use JBoss Marshalling as it includes the size of every Object that gets serialized in front of the Object itself. Use this with MarshallingDecoder See JBoss Marshalling website for more information