net.gleamynode.netty.channel
Class SimpleChannelHandler

java.lang.Object
  extended by net.gleamynode.netty.channel.SimpleChannelHandler
All Implemented Interfaces:
ChannelHandler, ChannelUpstreamHandler
Direct Known Subclasses:
FrameDecoder, ReplayingDecoder

public class SimpleChannelHandler
extends Object
implements ChannelUpstreamHandler

Version:
$Rev$, $Date$
Author:
The Netty Project (netty@googlegroups.com), Trustin Lee (trustin@gmail.com)

Constructor Summary
SimpleChannelHandler()
           
 
Method Summary
 void channelBound(ChannelHandlerContext ctx, ChannelStateEvent e)
           
 void channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e)
           
 void channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e)
           
 void channelDisconnected(ChannelHandlerContext ctx, ChannelStateEvent e)
           
 void channelInterestChanged(ChannelHandlerContext ctx, ChannelStateEvent e)
           
 void channelOpen(ChannelHandlerContext ctx, ChannelStateEvent e)
           
 void channelUnbound(ChannelHandlerContext ctx, ChannelStateEvent e)
           
 void childChannelClosed(ChannelHandlerContext ctx, ChildChannelStateEvent e)
           
 void childChannelOpen(ChannelHandlerContext ctx, ChildChannelStateEvent e)
           
 void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e)
           
 void handleUpstream(ChannelHandlerContext ctx, ChannelEvent e)
           
 void messageReceived(ChannelHandlerContext ctx, MessageEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleChannelHandler

public SimpleChannelHandler()
Method Detail

handleUpstream

public void handleUpstream(ChannelHandlerContext ctx,
                           ChannelEvent e)
                    throws Exception
Specified by:
handleUpstream in interface ChannelUpstreamHandler
Throws:
Exception

channelBound

public void channelBound(ChannelHandlerContext ctx,
                         ChannelStateEvent e)
                  throws Exception
Throws:
Exception

channelClosed

public void channelClosed(ChannelHandlerContext ctx,
                          ChannelStateEvent e)
                   throws Exception
Throws:
Exception

channelConnected

public void channelConnected(ChannelHandlerContext ctx,
                             ChannelStateEvent e)
                      throws Exception
Throws:
Exception

channelInterestChanged

public void channelInterestChanged(ChannelHandlerContext ctx,
                                   ChannelStateEvent e)
                            throws Exception
Throws:
Exception

channelDisconnected

public void channelDisconnected(ChannelHandlerContext ctx,
                                ChannelStateEvent e)
                         throws Exception
Throws:
Exception

channelOpen

public void channelOpen(ChannelHandlerContext ctx,
                        ChannelStateEvent e)
                 throws Exception
Throws:
Exception

channelUnbound

public void channelUnbound(ChannelHandlerContext ctx,
                           ChannelStateEvent e)
                    throws Exception
Throws:
Exception

messageReceived

public void messageReceived(ChannelHandlerContext ctx,
                            MessageEvent e)
                     throws Exception
Throws:
Exception

exceptionCaught

public void exceptionCaught(ChannelHandlerContext ctx,
                            ExceptionEvent e)
                     throws Exception
Throws:
Exception

childChannelClosed

public void childChannelClosed(ChannelHandlerContext ctx,
                               ChildChannelStateEvent e)
                        throws Exception
Throws:
Exception

childChannelOpen

public void childChannelOpen(ChannelHandlerContext ctx,
                             ChildChannelStateEvent e)
                      throws Exception
Throws:
Exception


Copyright © 2008-Present Trustin Heuiseung Lee. All Rights Reserved.