|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.netty.channel.DefaultChildChannelStateEvent
public class DefaultChildChannelStateEvent

The default ChildChannelStateEvent implementation.
| Constructor Summary | |
|---|---|
DefaultChildChannelStateEvent(Channel parentChannel,
Channel childChannel)
Creates a new instance. |
|
| Method Summary | |
|---|---|
Channel |
getChannel()
Returns the parent Channel which is associated
with this event. |
Channel |
getChildChannel()
Returns the child Channel whose state has been changed. |
ChannelFuture |
getFuture()
Returns the ChannelFuture which is associated with this event. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultChildChannelStateEvent(Channel parentChannel,
Channel childChannel)
| Method Detail |
|---|
public Channel getChannel()
ChildChannelStateEventChannel which is associated
with this event. Please note that you should use ChildChannelStateEvent.getChildChannel()
to get the Channel created or accepted by the parent Channel.
getChannel in interface ChannelEventgetChannel in interface ChildChannelStateEventpublic ChannelFuture getFuture()
ChannelEventChannelFuture which is associated with this event.
If this event is an upstream event, this method will always return a
SucceededChannelFuture because the event has occurred already.
If this event is a downstream event (i.e. I/O request), the returned
future will be notified when the I/O request succeeds or fails.
getFuture in interface ChannelEventpublic Channel getChildChannel()
ChildChannelStateEventChannel whose state has been changed.
getChildChannel in interface ChildChannelStateEventpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||