Class IdleStateEvent
java.lang.Object
io.netty.handler.timeout.IdleStateEvent
A user event triggered by
IdleStateHandler when a Channel is idle.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IdleStateEventstatic final IdleStateEventstatic final IdleStateEventstatic final IdleStateEventstatic final IdleStateEventstatic final IdleStateEvent -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedIdleStateEvent(IdleState state, boolean first) Constructor for sub-classes. -
Method Summary
-
Field Details
-
FIRST_READER_IDLE_STATE_EVENT
-
READER_IDLE_STATE_EVENT
-
FIRST_WRITER_IDLE_STATE_EVENT
-
WRITER_IDLE_STATE_EVENT
-
FIRST_ALL_IDLE_STATE_EVENT
-
ALL_IDLE_STATE_EVENT
-
-
Constructor Details
-
IdleStateEvent
Constructor for sub-classes.- Parameters:
state- theIdleStateEventwhich triggered the event.first-trueif its the first idle event for theIdleStateEvent.
-
-
Method Details
-
state
Returns the idle state. -
isFirst
public boolean isFirst()Returnstrueif this was the first event for theIdleState -
toString
-