|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An interface used by the SelectorThread to notify an object
of when a read or write event has occurred.
| Method Summary | |
int |
getInterestedOps()
Returns the current operations the handler is interested in |
void |
initialize(ProtocolEngine engine,
Daemon daemon)
Initialize this socket with a ProtocolEngine and the current
Daemon. |
boolean |
processReadEvent()
The selector is ready to be read. |
boolean |
processWriteEvent()
The selector is ready to be written to. |
void |
setThread(SelectorThread thread)
Sets the selector thread this handler runs upon |
| Methods inherited from interface com.maverick.nio.SelectorRegistrationListener |
registrationCompleted |
| Method Detail |
public void initialize(ProtocolEngine engine,
Daemon daemon)
ProtocolEngine and the current
Daemon.
engine - ProtocolEnginedaemon - Daemonpublic boolean processReadEvent()
public boolean processWriteEvent()
public int getInterestedOps()
public void setThread(SelectorThread thread)
thread -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||