net.gleamynode.netty.handler.codec.serialization
Class ObjectDecoder
java.lang.Object
net.gleamynode.netty.channel.SimpleChannelHandler
net.gleamynode.netty.handler.codec.frame.FrameDecoder
net.gleamynode.netty.handler.codec.serialization.ObjectDecoder
- All Implemented Interfaces:
- ChannelHandler, ChannelUpstreamHandler
public class ObjectDecoder
- extends FrameDecoder
- 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 |
ObjectDecoder
public ObjectDecoder()
ObjectDecoder
public ObjectDecoder(int maxObjectSize)
ObjectDecoder
public ObjectDecoder(int maxObjectSize,
ClassLoader classLoader)
decode
protected Object decode(ChannelHandlerContext ctx,
Channel channel,
ChannelBuffer buffer)
throws Exception
- Specified by:
decode in class FrameDecoder
- Throws:
Exception
Copyright © 2008-Present Trustin Heuiseung Lee. All Rights Reserved.