net.gleamynode.netty.handler.codec.frame
Class FixedLengthFrameDecoder

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.frame.FixedLengthFrameDecoder
All Implemented Interfaces:
ChannelHandler, ChannelUpstreamHandler

public class FixedLengthFrameDecoder
extends FrameDecoder

Version:
$Rev:231 $, $Date:2008-06-12 16:44:50 +0900 (목, 12 6월 2008) $
Author:
The Netty Project (netty@googlegroups.com), Trustin Lee (trustin@gmail.com)

Constructor Summary
FixedLengthFrameDecoder(int frameLength)
           
 
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

FixedLengthFrameDecoder

public FixedLengthFrameDecoder(int frameLength)
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.