Package org.jboss.netty.channel
Interface ChannelStateEvent
-
- All Superinterfaces:
ChannelEvent
- All Known Implementing Classes:
DownstreamChannelStateEvent
,UpstreamChannelStateEvent
public interface ChannelStateEvent extends ChannelEvent
AChannelEvent
which represents the change of theChannel
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 theChannelEvent
documentation to find out what an upstream event and a downstream event are and what fundamental differences they have.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChannelState
getState()
Returns the changed property of theChannel
.java.lang.Object
getValue()
Returns the value of the changed property of theChannel
.-
Methods inherited from interface org.jboss.netty.channel.ChannelEvent
getChannel, getFuture
-
-
-
-
Method Detail
-
getState
ChannelState getState()
Returns the changed property of theChannel
.
-
getValue
java.lang.Object getValue()
Returns the value of the changed property of theChannel
. Please refer toChannelState
documentation to find out the allowed values for each property.
-
-