com.croftsoft.core.net
Class PortServer

java.lang.Object
  extended by com.croftsoft.core.net.PortServer
All Implemented Interfaces:
Runnable

public final class PortServer
extends Object
implements Runnable

PortServer creates a java.net.ServerSocket which accepts connections and passes them on to com.orbs.net.SocketServer threads.

Since:
1997-04-19
Version:
$Id: PortServer.java,v 1.2 2008/09/20 04:12:46 croft Exp $
Author:
David Wallace Croft

Constructor Summary
PortServer(Class serverClass, int port, File semaphore)
           
 
Method Summary
 Vector clone_server_Vector()
           
static void main(String[] args)
           
 void run()
           
 void terminate(SocketServer socketServer)
           
 void terminate(Throwable t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortServer

public PortServer(Class serverClass,
                  int port,
                  File semaphore)
Method Detail

main

public static final void main(String[] args)

run

public final void run()
Specified by:
run in interface Runnable

terminate

public final void terminate(Throwable t)

terminate

public final void terminate(SocketServer socketServer)

clone_server_Vector

public final Vector clone_server_Vector()

CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)