public interface IOEventDispatch
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
CONNECTION_KEY
Attribute name of an object that represents a non-blocking connection.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
connected(IOSession session)
Triggered after the given session has been just created.
|
void |
disconnected(IOSession session)
Triggered when the given session has been terminated.
|
void |
inputReady(IOSession session)
Triggered when the given session has input pending.
|
void |
outputReady(IOSession session)
Triggered when the given session is ready for output.
|
void |
timeout(IOSession session)
Triggered when the given session as timed out.
|
static final java.lang.String CONNECTION_KEY
void connected(IOSession session)
session - the I/O session.void inputReady(IOSession session)
session - the I/O session.void outputReady(IOSession session)
session - the I/O session.void timeout(IOSession session)
session - the I/O session.void disconnected(IOSession session)
session - the I/O session.