程序包 | 说明 |
---|---|
io.netty.handler.timeout |
Adds support for read and write timeout and idle connection notification
using a
Timer . |
类和说明 |
---|
IdleState
An
Enum that represents the idle state of a Channel . |
IdleStateEvent
A user event triggered by
IdleStateHandler when a Channel is idle. |
IdleStateHandler
Triggers an
IdleStateEvent when a Channel has not performed
read, write, or both operation for a while. |
ReadTimeoutException
A
TimeoutException raised by ReadTimeoutHandler when no data
was read within a certain period of time. |
TimeoutException
A
TimeoutException when no data was either read or written within a
certain period of time. |
WriteTimeoutException
A
TimeoutException raised by WriteTimeoutHandler when a write operation
cannot finish in a certain period of time. |