Module io.netty5.handler
Package io.netty5.handler.timeout
Adds support for read and write timeout and idle connection notification
using a
Timer
.-
Class Summary Class Description IdleStateEvent A user event triggered byIdleStateHandler
when aChannel
is idle.IdleStateHandler Triggers anIdleStateEvent
when aChannel
has not performed read, write, or both operation for a while.ReadTimeoutHandler Raises aReadTimeoutException
when no data was read within a certain period of time.WriteTimeoutHandler Raises aWriteTimeoutException
when a write operation cannot finish in a certain period of time. -
Enum Summary Enum Description IdleState -
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 a write operation cannot finish in a certain period of time.