|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
jas.net.SimServer
public class SimServer
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
static int |
SERVER_DEFAULT_TCP_PORT
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
SimServer()
|
|
SimServer(int portNumber)
|
Method Summary | |
---|---|
java.util.List |
getActiveConnections()
|
boolean |
isRunning()
|
void |
run()
|
void |
shutdownAllConnections()
|
void |
shutdownConnection(int id)
|
void |
shutdownServer()
|
void |
startServer()
|
void |
stopServer()
|
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, 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, yield |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int SERVER_DEFAULT_TCP_PORT
Constructor Detail |
---|
public SimServer()
public SimServer(int portNumber)
Method Detail |
---|
public java.util.List getActiveConnections()
public boolean isRunning()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void shutdownAllConnections()
public void shutdownConnection(int id)
public void shutdownServer()
public void startServer()
public void stopServer()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |