Package org.jboss.netty.handler.timeout
Interface IdleStateEvent
- All Superinterfaces:
ChannelEvent
- All Known Implementing Classes:
DefaultIdleStateEvent
A
ChannelEvent
that is triggered when a Channel
has been idle
for a while.-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the last time when I/O occurred in milliseconds.getState()
Returns the detailed idle state.Methods inherited from interface org.jboss.netty.channel.ChannelEvent
getChannel, getFuture
-
Method Details
-
getState
IdleState getState()Returns the detailed idle state. -
getLastActivityTimeMillis
long getLastActivityTimeMillis()Returns the last time when I/O occurred in milliseconds.
-