public class IdleStateEvent
extends java.lang.Object
IdleStateHandler
when a Channel
is idle.限定符和类型 | 字段和说明 |
---|---|
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 |
限定符 | 构造器和说明 |
---|---|
protected |
IdleStateEvent(IdleState state,
boolean first)
Constructor for sub-classes.
|
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
.