galaxy.server
Class ClientThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--galaxy.server.ServerCreationThread
              |
              +--galaxy.server.ClientThread
All Implemented Interfaces:
java.lang.Runnable

public class ClientThread
extends ServerCreationThread

This thread establishes connections to a specified list of Hubs.


Fields inherited from class galaxy.server.ServerCreationThread
CLIENT, in, isRunning, LISTENER, mainServer, out, thread, threadType, tooManyServers
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ClientThread(MainServer mainServer)
          Constructor
 
Method Summary
 void run()
          This is the thread's main routine.
 
Methods inherited from class galaxy.server.ServerCreationThread
createServer, isRunning, logErrorMessage, logErrorMessage, logErrorMessage, logErrorMessage, logMessage, logMessage, logWarningMessage, logWarningMessage, startServer, stopThread
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClientThread

public ClientThread(MainServer mainServer)
Constructor
Parameters:
mainServer - the MainServer that created this thread
Method Detail

run

public void run()
This is the thread's main routine. It periodically looks for new Hubs to contact.
Overrides:
run in class ServerCreationThread