|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PictionaryServer.ClientConnection | |
---|---|
pictionary.pictionaryserver |
Uses of PictionaryServer.ClientConnection in pictionary.pictionaryserver |
---|
Fields in pictionary.pictionaryserver declared as PictionaryServer.ClientConnection | |
---|---|
(package private) PictionaryServer.ClientConnection |
PictionaryServer.ClientConnectionMessage.clientConnection
|
Fields in pictionary.pictionaryserver with type parameters of type PictionaryServer.ClientConnection | |
---|---|
private java.util.HashMap<java.lang.String,PictionaryServer.ClientConnection> |
PictionaryServer.clientConnections
The collection that stores all the client connections. |
Methods in pictionary.pictionaryserver with parameters of type PictionaryServer.ClientConnection | |
---|---|
private void |
PictionaryServer.acceptConnection(PictionaryServer.ClientConnection newConnection)
Adds a connection to PictionaryServer.clientConnections , adds the client's name to PictionaryServer.illegalUsernames
and informs all connected clients that someone connected to the server. |
private void |
PictionaryServer.clientDisconnected(PictionaryServer.ClientConnection client)
Removes a client from PictionaryServer.clientConnections , removes the username for PictionaryServer.illegalUsernames
and informs all connected clients that someone left the server. |
private void |
PictionaryServer.connectionToClientClosedWithError(PictionaryServer.ClientConnection client,
java.lang.String errorMessage)
Calls PictionaryServer.clientDisconnected(ClientConnection)
and prints a message to standard error output. |
private void |
PictionaryServer.messageReceived(PictionaryServer.ClientConnection client,
Message message)
Called when a new message has been received |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |