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 AChannelEventthat is triggered when aChannelhas been idle for a while. -
Class Summary Class Description DefaultIdleStateEvent The defaultIdleStateEventimplementation.IdleStateAwareChannelHandler An extendedSimpleChannelHandlerthat adds the handler method for anIdleStateEvent.IdleStateAwareChannelUpstreamHandler An extendedSimpleChannelUpstreamHandlerthat adds the handler method for anIdleStateEvent.IdleStateHandler Triggers anIdleStateEventwhen aChannelhas not performed read, write, or both operation for a while.IdleStateHandler.State ReadTimeoutHandler Raises aReadTimeoutExceptionwhen no data was read within a certain period of time.ReadTimeoutHandler.State WriteTimeoutHandler Raises aWriteTimeoutExceptionwhen no data was written within a certain period of time.WriteTimeoutHandler.TimeoutCanceller -
Enum Summary Enum Description IdleState AnEnumthat represents the idle state of aChannel. -
Exception Summary Exception Description ReadTimeoutException ATimeoutExceptionraised byReadTimeoutHandlerwhen no data was read within a certain period of time.TimeoutException ATimeoutExceptionwhen no data was either read or written within a certain period of time.WriteTimeoutException ATimeoutExceptionraised byWriteTimeoutHandlerwhen no data was written within a certain period of time.