net.bluebones.boggle
Class Connector

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

public class Connector
extends Object
implements Runnable

Thread for running of connection to a host stopping long waits in the GUI thread which makes the app unresponsive.

Version:
0.3 $Revision: 1.3 $
Author:
Thomas David Baker, bakert@gmail.com>

Constructor Summary
Connector(Player player, GameInfo gameInfo)
          Intializes a new Connector.
 
Method Summary
 void run()
          Runs this Connector, trying to connected the owner to the game specified in the constructor.
 String toString()
          Gets a String representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Connector

public Connector(Player player,
                 GameInfo gameInfo)
Intializes a new Connector.

Parameters:
player - Player this Connector belongs to.
gameInfo - GameInfo describing the game this Connector should connect to.
Method Detail

run

public void run()
Runs this Connector, trying to connected the owner to the game specified in the constructor.

Specified by:
run in interface Runnable

toString

public String toString()
Gets a String representation of this object.

Overrides:
toString in class Object
Returns:
String representation of this object.