Package io.netty.handler.timeout
Class IdleStateEvent
- java.lang.Object
-
- io.netty.handler.timeout.IdleStateEvent
-
public class IdleStateEvent extends java.lang.ObjectA user event triggered byIdleStateHandlerwhen aChannelis idle.
-
-
Field Summary
Fields Modifier and Type Field Description static IdleStateEventALL_IDLE_STATE_EVENTstatic IdleStateEventFIRST_ALL_IDLE_STATE_EVENTstatic IdleStateEventFIRST_READER_IDLE_STATE_EVENTstatic IdleStateEventFIRST_WRITER_IDLE_STATE_EVENTstatic IdleStateEventREADER_IDLE_STATE_EVENTstatic IdleStateEventWRITER_IDLE_STATE_EVENT
-
Constructor Summary
Constructors Modifier Constructor Description protectedIdleStateEvent(IdleState state, boolean first)Constructor for sub-classes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisFirst()Returnstrueif this was the first event for theIdleStateIdleStatestate()Returns the idle state.java.lang.StringtoString()
-
-
-
Field Detail
-
FIRST_READER_IDLE_STATE_EVENT
public static final IdleStateEvent FIRST_READER_IDLE_STATE_EVENT
-
READER_IDLE_STATE_EVENT
public static final IdleStateEvent READER_IDLE_STATE_EVENT
-
FIRST_WRITER_IDLE_STATE_EVENT
public static final IdleStateEvent FIRST_WRITER_IDLE_STATE_EVENT
-
WRITER_IDLE_STATE_EVENT
public static final IdleStateEvent WRITER_IDLE_STATE_EVENT
-
FIRST_ALL_IDLE_STATE_EVENT
public static final IdleStateEvent FIRST_ALL_IDLE_STATE_EVENT
-
ALL_IDLE_STATE_EVENT
public static final IdleStateEvent ALL_IDLE_STATE_EVENT
-
-
Constructor Detail
-
IdleStateEvent
protected IdleStateEvent(IdleState state, boolean first)
Constructor for sub-classes.- Parameters:
state- theIdleStateEventwhich triggered the event.first-trueif its the first idle event for theIdleStateEvent.
-
-