|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.netty.handler.timeout.DefaultIdleStateEvent
public class DefaultIdleStateEvent
The default IdleStateEvent implementation.
| Constructor Summary | |
|---|---|
DefaultIdleStateEvent(Channel channel,
IdleState state,
long lastActivityTimeMillis)
Creates a new instance. |
|
| Method Summary | |
|---|---|
Channel |
getChannel()
Returns the Channel which is associated with this event. |
ChannelFuture |
getFuture()
Returns the ChannelFuture which is associated with this event. |
long |
getLastActivityTimeMillis()
Returns the last time when I/O occurred in milliseconds. |
IdleState |
getState()
Returns the detailed idle state. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultIdleStateEvent(Channel channel,
IdleState state,
long lastActivityTimeMillis)
| Method Detail |
|---|
public Channel getChannel()
ChannelEventChannel which is associated with this event.
getChannel in interface ChannelEventpublic 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 IdleState getState()
IdleStateEvent
getState in interface IdleStateEventpublic long getLastActivityTimeMillis()
IdleStateEvent
getLastActivityTimeMillis in interface IdleStateEventpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||