Package org.jboss.netty.handler.timeout
package org.jboss.netty.handler.timeout
Adds support for read and write timeout and idle connection notification
using a
Timer
.-
ClassDescriptionThe default
IdleStateEvent
implementation.An extendedSimpleChannelHandler
that adds the handler method for anIdleStateEvent
.An extendedSimpleChannelUpstreamHandler
that adds the handler method for anIdleStateEvent
.AChannelEvent
that is triggered when aChannel
has been idle for a while.Triggers anIdleStateEvent
when aChannel
has not performed read, write, or both operation for a while.ATimeoutException
raised byReadTimeoutHandler
when no data was read within a certain period of time.Raises aReadTimeoutException
when no data was read within a certain period of time.ATimeoutException
when no data was either read or written within a certain period of time.ATimeoutException
raised byWriteTimeoutHandler
when no data was written within a certain period of time.Raises aWriteTimeoutException
when no data was written within a certain period of time.