public class DSServer
extends java.lang.Thread
| Constructor and Description | 
|---|
| DSServer()The default JMDistServer is responsible for establishing a 
 ServerSocket and a thread responsible for listening for 
 ServerSocket accepts. | 
| DSServer(int port)The default JMDistServer is responsible for establishing a 
 ServerSocket and a thread responsible for listening for 
 ServerSocket accepts. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | broadCast(java.lang.Object obj,
         DSServerConnector conin)Broadcast updates to all attached clients | 
| void | deleteConnection(DSServerConnector con)Delete this connection from the list of options | 
| void | run()This threads run method | 
activeCount, checkAccess, clone, 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, yieldpublic DSServer()
public DSServer(int port)
port - the port number for this server to listen on.public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void broadCast(java.lang.Object obj,
             DSServerConnector conin)
public void deleteConnection(DSServerConnector con)