org.jboss.netty.channel
Class DefaultChildChannelStateEvent

java.lang.Object
  extended by org.jboss.netty.channel.DefaultChannelEvent
      extended by org.jboss.netty.channel.DefaultChildChannelStateEvent
All Implemented Interfaces:
ChannelEvent, ChildChannelStateEvent

public class DefaultChildChannelStateEvent
extends DefaultChannelEvent
implements ChildChannelStateEvent

The default ChildChannelStateEvent implementation.

Version:
$Rev: 210 $, $Date: 2008-09-03 13:10:04 +0900 (Wed, 03 Sep 2008) $
Author:
The Netty Project (netty-dev@lists.jboss.org), Trustin Lee (tlee@redhat.com)

Constructor Summary
DefaultChildChannelStateEvent(Channel channel, ChannelFuture future, Channel childChannel)
          Creates a new instance.
 
Method Summary
 Channel getChildChannel()
          Returns the child Channel whose state has been changed.
 String toString()
          Returns the String representation of this event.
 
Methods inherited from class org.jboss.netty.channel.DefaultChannelEvent
getChannel, getFuture
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.netty.channel.ChannelEvent
getChannel, getFuture
 

Constructor Detail

DefaultChildChannelStateEvent

public DefaultChildChannelStateEvent(Channel channel,
                                     ChannelFuture future,
                                     Channel childChannel)
Creates a new instance.

Method Detail

getChildChannel

public Channel getChildChannel()
Description copied from interface: ChildChannelStateEvent
Returns the child Channel whose state has been changed.

Specified by:
getChildChannel in interface ChildChannelStateEvent

toString

public String toString()
Description copied from class: DefaultChannelEvent
Returns the String representation of this event.

Overrides:
toString in class DefaultChannelEvent


Copyright © 2008-Present JBoss - a division of Red Hat. All Rights Reserved.