net.bluebones.boggle
Class ResultsSender
java.lang.Object
net.bluebones.boggle.ResultsSender
- All Implemented Interfaces:
- Runnable
public class ResultsSender
- extends Object
- implements Runnable
Thread that sends information to an NamedClient. Clients should not have to
wait for each other to read results, etc. so this Thread makes sending out
information multithreaded so this is not the case.
- Version:
- 0.3 $Revision: 1.3 $
- Author:
- Thomas David Baker, bakert@gmail.com>
|
Method Summary |
void |
run()
Main action of this thread. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResultsSender
public ResultsSender(Rubber rubber,
Round round,
NamedClient namedClient,
Client host)
- Initializes a new ResultsSender to send results with the specified
values.
- Parameters:
rubber - Rubber details to send.round - Results to send.namedClient - NamedClient to send results to.host - Client that is hosting the game.
run
public void run()
- Main action of this thread. The specified NamedClient is notified of the
results of the round.
- Specified by:
run in interface Runnable