gecco.communication.server
Class DataInputExchangeHandler
java.lang.Object
|
+--gecco.communication.server.DataInputExchangeHandler
- All Implemented Interfaces:
- Runnable
- public class DataInputExchangeHandler
- extends Object
- implements Runnable
a class that sends messages from the server, in the send queue
- Author:
- Niklas Hallenfur, Karl Hasselström, Henrik Hägerström, Jon Åslund
Method Summary |
void |
abortGame()
called when the client says it wants to abort the game or disconnect |
void |
kill()
called whenever someone wants this Thread to die |
void |
run()
Main processing method for the DataInputExchangeHandler object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataInputExchangeHandler
public DataInputExchangeHandler(ClientConnection cc,
Server se,
ClientConnectionHandler cch,
DataOutputExchangeHandler outputDEH)
- Constructor for the DataInputExchangeHandler object
- Parameters:
cc
- Description of Parameterse
- Description of Parametercch
- Description of ParameteroutputDEH
- Description of Parameter
run
public void run()
- Main processing method for the DataInputExchangeHandler object
- Specified by:
run
in interface Runnable
abortGame
public void abortGame()
- called when the client says it wants to abort the game or disconnect
kill
public void kill()
- called whenever someone wants this Thread to die