Top Description Classes Enums
[default module]

Package io.netty5.handler.timeout


Adds support for read and write timeout and idle connection notification using a io.netty5.util.Timer.

Class Summary

Modifier and TypeClass and Description
public class
IdleStateEvent

A user event triggered by IdleStateHandler when a Channel is idle.

public class
IdleStateHandler

Triggers an IdleStateEvent when a Channel has not performed read, write, or both operation for a while.

public class
ReadTimeoutException

A TimeoutException raised by ReadTimeoutHandler when no data was read within a certain period of time.

public class
ReadTimeoutHandler

Raises a ReadTimeoutException when no data was read within a certain period of time.

public class
TimeoutException

A TimeoutException when no data was either read or written within a certain period of time.

public class
WriteTimeoutException

A TimeoutException raised by WriteTimeoutHandler when a write operation cannot finish in a certain period of time.

public class
WriteTimeoutHandler

Raises a WriteTimeoutException when a write operation cannot finish in a certain period of time.

Enum Summary

Modifier and TypeEnum and Description
public enum
IdleState

An Enum that represents the idle state of a Channel.