public class TcpWriteServer extends TcpServer
Thread.State, Thread.UncaughtExceptionHandlerclientConf, clients, serverConf, serverSocketMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
TcpWriteServer()
Instantiates a new Tcp write server.
|
| Modifier and Type | Method and Description |
|---|---|
protected TcpWriteClient |
newClient(Socket socket)
Inheriting classes must be able to provide a new client
|
void |
send(String msg)
Send message to all clients
|
cancel, clientStopped, getClientConf, getClients, getServerConf, run, setClientConf, setServerConfactiveCount, 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, yieldprotected TcpWriteClient newClient(Socket socket)
TcpServerpublic void send(String msg)
msg - the msgCopyright © 2011–2019 Danish Maritime Authority. All rights reserved.