Package org.jboss.netty.handler.timeout
Adds support for read and write timeout and idle connection notification
using a
Timer
.-
Interface Summary Interface Description IdleStateEvent AChannelEvent
that is triggered when aChannel
has been idle for a while. -
Class Summary Class Description DefaultIdleStateEvent The defaultIdleStateEvent
implementation.IdleStateAwareChannelHandler An extendedSimpleChannelHandler
that adds the handler method for anIdleStateEvent
.IdleStateAwareChannelUpstreamHandler An extendedSimpleChannelUpstreamHandler
that adds the handler method for anIdleStateEvent
.IdleStateHandler Triggers anIdleStateEvent
when aChannel
has not performed read, write, or both operation for a while.IdleStateHandler.State ReadTimeoutHandler Raises aReadTimeoutException
when no data was read within a certain period of time.ReadTimeoutHandler.State WriteTimeoutHandler Raises aWriteTimeoutException
when no data was written within a certain period of time.WriteTimeoutHandler.TimeoutCanceller -
Enum Summary Enum Description IdleState AnEnum
that represents the idle state of aChannel
. -
Exception Summary Exception Description ReadTimeoutException ATimeoutException
raised byReadTimeoutHandler
when no data was read within a certain period of time.TimeoutException ATimeoutException
when no data was either read or written within a certain period of time.WriteTimeoutException ATimeoutException
raised byWriteTimeoutHandler
when no data was written within a certain period of time.