|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gecco.communication.client.DataOutputExchangeHandler
A class that sends messages to the server
Constructor Summary | |
DataOutputExchangeHandler(MessageQueue q,
ServerConnection sc,
ServerAmbassador sa)
|
Method Summary | |
void |
addMessageToQueue(Message message)
Used by the ServerAmbassador to add messages to send |
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 |
Constructor Detail |
public DataOutputExchangeHandler(MessageQueue q, ServerConnection sc, ServerAmbassador sa)
q
- the queue that will contain the messages to sendsc
- the connection to send messages tosa
- the serverambassador who created this objectMethod Detail |
public void addMessageToQueue(Message message)
message
- The feature to be added to the MessageToQueue attributepublic void run()
run
in interface Runnable
public void kill()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |