|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gecco.communication.server.DataOutputExchangeHandler
a class that listens for incoming messages from the client, receives them, and tells the server about them
Field Summary | |
Boolean |
pingSyncObject
Description of the Field |
Constructor Summary | |
DataOutputExchangeHandler(MessageQueue q,
ClientConnection cc,
Server se,
ClientConnectionHandler cch)
Constructor for the DataOutputExchangeHandler object |
Method Summary | |
void |
abortGame()
called when the client says it wants to abort the game or disconnect |
void |
addMessageToQueue(Message message)
Adds a feature to the MessageToQueue attribute of the DataOutputExchangeHandler object |
void |
kill()
called whenever someone wants this Thread to die |
void |
run()
Main processing method for the DataOutputExchangeHandler object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public Boolean pingSyncObject
Constructor Detail |
public DataOutputExchangeHandler(MessageQueue q, ClientConnection cc, Server se, ClientConnectionHandler cch)
q
- Description of Parametercc
- Description of Parameterse
- Description of Parametercch
- Description of ParameterMethod Detail |
public void addMessageToQueue(Message message)
message
- The feature to be added to the MessageToQueue attributepublic void run()
run
in interface Runnable
public void abortGame()
public void kill()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |