|
XNIO version 1.1.0.GA | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the type of channel that the handler can handlepublic interface IoHandler<T extends Channel>
A channel I/O handler. Implementations of this interface handle traffic over a Channel
.
Method Summary | |
---|---|
void |
handleClosed(T channel)
Handle channel close. |
void |
handleOpened(T channel)
Handle channel open. |
void |
handleReadable(T channel)
Handle channel readability. |
void |
handleWritable(T channel)
Handle channel writability. |
Method Detail |
---|
void handleOpened(T channel)
handleClosed(java.nio.channels.Channel)
method.
channel
- the channel that was openedvoid handleReadable(T channel)
channel
- the channel that is readablevoid handleWritable(T channel)
channel
- the channel that is readablevoid handleClosed(T channel)
Channel.close()
method is called again, this method is not invoked.
channel
- the channel that was closed
|
XNIO version 1.1.0.GA | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |