Class ServerHand

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--ServerHand
All Implemented Interfaces:
java.lang.Runnable

public class ServerHand
extends java.lang.Thread


Field Summary
 java.net.Socket incoming
           
 java.io.PrintWriter out
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ServerHand(java.net.Socket i, java.lang.ThreadGroup g, java.lang.String s)
           
 
Method Summary
 void closeMe()
           
 void run()
           
 void sendMSG(java.lang.String s)
           
 void talk()
           
 void welcomeMSG()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, 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
 

Field Detail

incoming

public java.net.Socket incoming

out

public java.io.PrintWriter out
Constructor Detail

ServerHand

public ServerHand(java.net.Socket i,
                  java.lang.ThreadGroup g,
                  java.lang.String s)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

talk

public void talk()

sendMSG

public void sendMSG(java.lang.String s)

closeMe

public void closeMe()

welcomeMSG

public void welcomeMSG()