actions.chat
Class ConnectThread

java.lang.Object
  extended by java.lang.Thread
      extended by actions.chat.ConnectThread
All Implemented Interfaces:
java.lang.Runnable

public class ConnectThread
extends java.lang.Thread

starts a thread to connect to the server. in case this thread is finished, it will interrupt another Thread AskThread.

Since:
1.5
Version:
%I%, %G%
Author:
Karl Tschetschonig
Matrikelnummer:
0525983
Studienkennzahl:
033 526

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ConnectThread(WSIDOClientMain mainApp, StandardUser user)
          constructs the new thread
 
Method Summary
 void run()
          starts the thread
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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

ConnectThread

public ConnectThread(WSIDOClientMain mainApp,
                     StandardUser user)
constructs the new thread

Parameters:
mainApp - reference to main application
user - reference to user to send the interaction request to
Method Detail

run

public void run()
starts the thread

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread