org.jboss.netty.channel
Interface ChannelStateEvent

All Superinterfaces:
ChannelEvent
All Known Implementing Classes:
DownstreamChannelStateEvent, UpstreamChannelStateEvent

public interface ChannelStateEvent
extends ChannelEvent

A ChannelEvent which represents the change of the Channel state. It can mean the notification of a change or the request for a change, depending on whether it is an upstream event or a downstream event respectively. Please refer to the ChannelEvent documentation to find out what an upstream event and a downstream event are and what fundamental differences they have.

Version:
$Rev: 1685 $, $Date: 2009-08-28 16:15:49 +0900 (금, 28 8 2009) $
Author:
The Netty Project (netty-dev@lists.jboss.org), Trustin Lee (tlee@redhat.com)

Method Summary
 ChannelState getState()
          Returns the changed property of the Channel.
 Object getValue()
          Returns the value of the changed property of the Channel.
 
Methods inherited from interface org.jboss.netty.channel.ChannelEvent
getChannel, getFuture
 

Method Detail

getState

ChannelState getState()
Returns the changed property of the Channel.


getValue

Object getValue()
Returns the value of the changed property of the Channel. Please refer to ChannelState documentation to find out the allowed values for each property.



Copyright © 2008-2009 JBoss, by Red Hat. All Rights Reserved.