|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpyrasun.eio.EIOEventManager
EIOEventManager is the central I/O event dispatcher. You register EndpointCoordinator objects with this, to inform the event manager what type of endpoints you'll be dealing with, and adding in Endpoints when they are ready for handling some type of event ( READABILITY from the connection, WRITABILITY to the connection, ACCEPTABILITY to accept a new incoming connection).
| Method Summary | |
java.lang.String |
keyListing()
For debugging purposes only - hooked into via Mr. |
void |
registerForEvents(Endpoint endpoint)
Register an Endpoint with this event manager. |
void |
removeEndpoint(Endpoint endpoint)
Removes an endpoint from this event manager. |
void |
run()
|
void |
setTimeoutCB(TimeoutCB timeoutCB)
Set a callback to be invoked if the selector times out with no I/O ready operations. |
void |
start()
Get this manager rolling! |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public void setTimeoutCB(TimeoutCB timeoutCB)
public void registerForEvents(Endpoint endpoint)
public void removeEndpoint(Endpoint endpoint)
public void start()
public java.lang.String keyListing()
public void run()
run in interface java.lang.Runnablepublic java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||