public class IdleStateEvent extends Object
IdleStateHandler
when a Channel
is idle.Modifier and Type | Field and Description |
---|---|
static IdleStateEvent |
ALL_IDLE_STATE_EVENT |
static IdleStateEvent |
FIRST_ALL_IDLE_STATE_EVENT |
static IdleStateEvent |
FIRST_READER_IDLE_STATE_EVENT |
static IdleStateEvent |
FIRST_WRITER_IDLE_STATE_EVENT |
static IdleStateEvent |
READER_IDLE_STATE_EVENT |
static IdleStateEvent |
WRITER_IDLE_STATE_EVENT |
Modifier | Constructor and Description |
---|---|
protected |
IdleStateEvent(IdleState state,
boolean first)
Constructor for sub-classes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isFirst()
Returns
true if this was the first event for the IdleState |
IdleState |
state()
Returns the idle state.
|
String |
toString() |
public static final IdleStateEvent FIRST_READER_IDLE_STATE_EVENT
public static final IdleStateEvent READER_IDLE_STATE_EVENT
public static final IdleStateEvent FIRST_WRITER_IDLE_STATE_EVENT
public static final IdleStateEvent WRITER_IDLE_STATE_EVENT
public static final IdleStateEvent FIRST_ALL_IDLE_STATE_EVENT
public static final IdleStateEvent ALL_IDLE_STATE_EVENT
protected IdleStateEvent(IdleState state, boolean first)
state
- the IdleStateEvent
which triggered the event.first
- true
if its the first idle event for the IdleStateEvent
.Copyright © 2008–2024 The Netty Project. All rights reserved.