public class IdleStateEvent
extends java.lang.Object
Channel
空闲时由IdleStateHandler
触发的用户事件。
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)
子类的构造器。
|
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
- 触发事件的IdleStateEvent
。
first
- true
如果它的第一个闲置事件为IdleStateEvent
。
Copyright © 2008–2018 The Netty Project. All rights reserved.