net.bluebones.boggle
Class RubberSender

java.lang.Object
  extended by net.bluebones.boggle.RubberSender
All Implemented Interfaces:
Runnable

public class RubberSender
extends Object
implements Runnable

Thread to send game details to clients to avoid having to wait for RMI to happen in the main thread.

Version:
0.3 $Revision: 1.3 $
Author:
Thomas David Baker

Constructor Summary
RubberSender(Rubber rubber, NamedClient namedClient, Client host)
          Initializes a new ResultsSender to send rubber details with the specified values.
 
Method Summary
 void run()
          Sends the Rubber details to the clients.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RubberSender

public RubberSender(Rubber rubber,
                    NamedClient namedClient,
                    Client host)
Initializes a new ResultsSender to send rubber details with the specified values.

Parameters:
rubber - Rubber details to send.
namedClient - NamedClient to send results to.
host - Client that is hosting the game.
Method Detail

run

public void run()
Sends the Rubber details to the clients.

Specified by:
run in interface Runnable