spo.src.server
Class ServerThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--spo.src.server.ServerThread
All Implemented Interfaces:
java.lang.Runnable

class ServerThread
extends java.lang.Thread

A class that implements the server thread for each client connection


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ServerThread(java.net.Socket socket, java.sql.Connection conn)
          Intialize an instance for each client connection
 
Method Summary
 void run()
          Override the run() method of the superclass Thread
 
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
 

Constructor Detail

ServerThread

public ServerThread(java.net.Socket socket,
                    java.sql.Connection conn)
Intialize an instance for each client connection

Parameters:
socket - name of the client socket
conn - name of the SQL Connection
Method Detail

run

public void run()
Override the run() method of the superclass Thread

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


Copyright © 2003 UKCS. All Rights Reserved.