net.gleamynode.netty.handler.codec.serialization
Class ObjectDecoder

java.lang.Object
  extended by net.gleamynode.netty.channel.SimpleChannelHandler
      extended by net.gleamynode.netty.handler.codec.frame.FrameDecoder
          extended by 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)

Constructor Summary
ObjectDecoder()
           
ObjectDecoder(int maxObjectSize)
           
ObjectDecoder(int maxObjectSize, ClassLoader classLoader)
           
 
Method Summary
protected  Object decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)
           
 
Methods inherited from class net.gleamynode.netty.handler.codec.frame.FrameDecoder
channelClosed, channelDisconnected, decodeLast, exceptionCaught, messageReceived
 
Methods inherited from class net.gleamynode.netty.channel.SimpleChannelHandler
channelBound, channelConnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, handleUpstream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectDecoder

public ObjectDecoder()

ObjectDecoder

public ObjectDecoder(int maxObjectSize)

ObjectDecoder

public ObjectDecoder(int maxObjectSize,
                     ClassLoader classLoader)
Method Detail

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.