public final class VirtualDirectoryServer
extends java.lang.Thread
Constructor and Description |
---|
VirtualDirectoryServer(java.util.Map<java.lang.String,VirtualDirectory> directories)
Creates a new command server (which is already started).
|
Modifier and Type | Method and Description |
---|---|
int |
getPortNumber()
Get port number on which server is listening.
|
void |
run()
Server listens on socket and executes received commands.
|
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
public VirtualDirectoryServer(java.util.Map<java.lang.String,VirtualDirectory> directories)
directories
- the directories to be served.