| Class | Description |
|---|---|
| Broadcast |
Represents a collection of
ServerResponses to be sent from the
server to one or more client(s) as the result of a user registration or
deregistration, or in response to a command received from some client. |
| ClientConnectionTest | |
| Command |
Represents a command string sent from a client to the server, after being
parsed into a more convenient data structure.
|
| CommandParser |
A class to contain the
static method CommandParser.parse(String). |
| CommandParserTest | |
| ServerModel |
Represents the model for a chat server, storing information about users
and channels on the server.
|
| ServerModelTest |
Use this class to write your own unit tests for
ServerModel. |
| ServerResponse |
Represents responses sent from the server to the client in response to a
client
Command, a user registration, or a user deregistration. |
| ServerUtil |
Class providing static utility methods to help in creating and testing
the
ServerModel. |
| TestUtil |
Class providing static utility methods to help in testing the
ServerModel |
| Enum | Description |
|---|---|
| Command.Type |
This enumeration defines the various types of commands that the clients
and server operate with.
|
| ServerErrorCode |
An enum to represent the various categories of error which are specified
by the protocol.
|