Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
DistributedClient(com.daioware.net.socket.TCPClientSocket clientSocket,
com.daioware.stream.Printer printer) |
| Modifier and Type | Method and Description |
|---|---|
com.daioware.net.socket.TCPClientSocket |
getClientSocket() |
com.daioware.net.socket.TCPClientSocket |
getNewConnection(String addr,
int port) |
abstract Runnable |
getRunnable(com.daioware.net.socket.TCPClientSocket socket) |
static void |
main(String[] args) |
void |
print(Object o) |
void |
println(Object o) |
void |
run() |
void |
setClientSocket(com.daioware.net.socket.TCPClientSocket clientSocket) |
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 DistributedClient(com.daioware.net.socket.TCPClientSocket clientSocket,
com.daioware.stream.Printer printer)
public com.daioware.net.socket.TCPClientSocket getClientSocket()
public void setClientSocket(com.daioware.net.socket.TCPClientSocket clientSocket)
public void print(Object o)
public void println(Object o)
public com.daioware.net.socket.TCPClientSocket getNewConnection(String addr, int port) throws UnknownHostException, IOException
UnknownHostExceptionIOExceptionpublic abstract Runnable getRunnable(com.daioware.net.socket.TCPClientSocket socket)
public static void main(String[] args)
Copyright © 2017. All rights reserved.