Class ConnectServerThread

Class ConnectServerThread

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----SleepingThread
                   |
                   +----ConnectServerThread

class ConnectServerThread
extends SleepingThread
A thread that runs as server on a specified port and accepts connect requests from clients. It then passes the accepted socket to a new created ConnectAAAThread which does the AAA, in order NOT to block the connection process. Written: Radu Sion
Version: 0.33
Source: ConnectServerThread.java
See Also:
RoundRobinServerThread

Constructor Index

 o ConnectServerThread(int, RoundRobinServerThread, ServerConnectAAA, long)
Constructs a thread object.

Method Index

 o finalize()
 o run()

Constructors

 o ConnectServerThread
  public ConnectServerThread(int port,
                             RoundRobinServerThread rrstt,
                             ServerConnectAAA a,
                             long sleep)
Constructs a thread object.
Parameters:
port - Port on which to listen for connections
rrstt - RoundRobinServerThread to which to pass the incoming sockets
sleep - Internal sleep delay

Methods

 o run
  public void run()
Overrides:
run in class Thread
 o finalize
  protected void finalize()
Overrides:
finalize in class Object