net.gleamynode.netty.handler.codec.serialization
Class CompatibleObjectDecoder
java.lang.Object
net.gleamynode.netty.channel.SimpleChannelHandler
net.gleamynode.netty.handler.codec.replay.ReplayingDecoder<net.gleamynode.netty.handler.codec.serialization.CompatibleObjectDecoderState>
net.gleamynode.netty.handler.codec.serialization.CompatibleObjectDecoder
- All Implemented Interfaces:
- ChannelHandler, ChannelUpstreamHandler
public class CompatibleObjectDecoder
- extends ReplayingDecoder<net.gleamynode.netty.handler.codec.serialization.CompatibleObjectDecoderState>
- Version:
- $Rev$, $Date$
- Author:
- The Netty Project (netty@googlegroups.com), Trustin Lee (trustin@gmail.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompatibleObjectDecoder
public CompatibleObjectDecoder()
decode
protected Object decode(ChannelHandlerContext ctx,
Channel channel,
ChannelBuffer buffer,
net.gleamynode.netty.handler.codec.serialization.CompatibleObjectDecoderState state)
throws Exception
- Specified by:
decode in class ReplayingDecoder<net.gleamynode.netty.handler.codec.serialization.CompatibleObjectDecoderState>
- Throws:
Exception
newObjectInputStream
protected ObjectInputStream newObjectInputStream(InputStream in)
throws Exception
- Throws:
Exception
decodeLast
protected Object decodeLast(ChannelHandlerContext ctx,
Channel channel,
ChannelBuffer buffer,
net.gleamynode.netty.handler.codec.serialization.CompatibleObjectDecoderState state)
throws Exception
- Overrides:
decodeLast in class ReplayingDecoder<net.gleamynode.netty.handler.codec.serialization.CompatibleObjectDecoderState>
- Throws:
Exception
Copyright © 2008-Present Trustin Heuiseung Lee. All Rights Reserved.