| Modifier and Type | Field | Description |
|---|---|---|
protected boolean |
run |
|
protected java.net.ServerSocket |
serverSocket |
| Constructor | Description |
|---|---|
Server_TCP(int port) |
Fallback for simple Creating a Server without proxy
|
Server_TCP(NodeProxyTCP proxy) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
close() |
|
boolean |
isRun() |
|
boolean |
isSearchFreePort() |
|
void |
run() |
|
Server_TCP |
withSearchFreePort(boolean searchFreePort) |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitactiveCount, 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, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic Server_TCP(int port)
port - Port of TCP-Serverpublic Server_TCP(NodeProxyTCP proxy)
public void run()
public boolean isSearchFreePort()
public Server_TCP withSearchFreePort(boolean searchFreePort)
searchFreePort - the searchFreePort to set