|
Crossfire JXClient, Trunk
|

Public Member Functions | |
| boolean | acceptsMessages () |
| void | run (final Client client) |
Package Functions | |
| ClientReader (ChatServer chatServer, DataReader callback) | |
Private Attributes | |
| final DataReader | callback |
| final ChatServer | chatServer |
|
package |
Definition at line 51 of file ClientReader.java.
References callback, and chatServer.
| boolean ClientReader.acceptsMessages | ( | ) |
Definition at line 56 of file ClientReader.java.
References DataReader.acceptsMessages(), and callback.

| void ClientReader.run | ( | final Client | client | ) |
Runs a cycle of doing a beforeRead action and then enqueuing a new read on the client. Handles closed channels and errors while reading. If the client is still connected a new round of actions are called.
Definition at line 65 of file ClientReader.java.
References DataReader.beforeRead(), callback, chatServer, client, DataReader.onData(), ChatServer.removeClient(), and result.

|
private |
Definition at line 48 of file ClientReader.java.
Referenced by acceptsMessages(), ClientReader(), and run().
|
private |
Definition at line 49 of file ClientReader.java.
Referenced by ClientReader(), and run().
1.8.17