net.gleamynode.netty.handler.codec.frame
Class FrameDecoder
java.lang.Object
net.gleamynode.netty.channel.SimpleChannelHandler
net.gleamynode.netty.handler.codec.frame.FrameDecoder
- All Implemented Interfaces:
- ChannelHandler, ChannelUpstreamHandler
- Direct Known Subclasses:
- DelimiterBasedFrameDecoder, FixedLengthFrameDecoder, ObjectDecoder, SslHandler
@ChannelPipelineCoverage(value="one")
public abstract class FrameDecoder
- extends SimpleChannelHandler
- 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)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FrameDecoder
public FrameDecoder()
messageReceived
public void messageReceived(ChannelHandlerContext ctx,
MessageEvent e)
throws Exception
- Overrides:
messageReceived in class SimpleChannelHandler
- Throws:
Exception
channelDisconnected
public void channelDisconnected(ChannelHandlerContext ctx,
ChannelStateEvent e)
throws Exception
- Overrides:
channelDisconnected in class SimpleChannelHandler
- Throws:
Exception
channelClosed
public void channelClosed(ChannelHandlerContext ctx,
ChannelStateEvent e)
throws Exception
- Overrides:
channelClosed in class SimpleChannelHandler
- Throws:
Exception
exceptionCaught
public void exceptionCaught(ChannelHandlerContext ctx,
ExceptionEvent e)
throws Exception
- Overrides:
exceptionCaught in class SimpleChannelHandler
- Throws:
Exception
decode
protected abstract Object decode(ChannelHandlerContext ctx,
Channel channel,
ChannelBuffer buffer)
throws Exception
- Throws:
Exception
decodeLast
protected Object decodeLast(ChannelHandlerContext ctx,
Channel channel,
ChannelBuffer buffer)
throws Exception
- Throws:
Exception
Copyright © 2008-Present Trustin Heuiseung Lee. All Rights Reserved.