|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The description of the facilities a client must provide to the server.
| Method Summary | |
void |
connectionFailed()
Notification that the connection to the server failed |
void |
gameTimeStarted()
Notification that game time has started. |
long |
getLastMessageTime()
Get the time at which the last message was recieved from this client |
java.lang.String |
getUsername()
Get the username of this client |
void |
notifyCommand(Command command)
Send a single command to this client |
| Method Detail |
public void notifyCommand(Command command)
throws java.io.IOException
command - The command to send to the client
java.io.IOException - Indicates a failure to communicate with this clientpublic void connectionFailed()
public void gameTimeStarted()
public java.lang.String getUsername()
public long getLastMessageTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||