Crossfire JXClient, Trunk
|
Public Member Functions | |
void | register (SelectableChannel ch, int ops, Handler h) throws IOException |
void | run () |
Package Functions | |
Dispatcher1 () throws IOException | |
Private Member Functions | |
void | dispatch () throws IOException |
Private Attributes | |
Selector | sel |
A single-threaded dispatcher.
When a SelectionKey is ready, it dispatches the job in this thread.
Definition at line 54 of file Dispatcher1.java.
|
package |
Definition at line 58 of file Dispatcher1.java.
References sel.
|
private |
Definition at line 73 of file Dispatcher1.java.
References Handler.handle(), and sel.
Referenced by run().
void Dispatcher1.register | ( | SelectableChannel | ch, |
int | ops, | ||
Handler | h | ||
) | throws IOException |
void Dispatcher1.run | ( | ) |
Definition at line 63 of file Dispatcher1.java.
References dispatch().
|
private |
Definition at line 56 of file Dispatcher1.java.
Referenced by dispatch(), Dispatcher1(), and register().