class LocalEmuDomainServer
extends java.lang.Thread
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
acceptingClients
Only allow response to clients if server is properly started.
|
(package private) java.lang.String |
domain |
(package private) int |
localTempPort
The local port used temporarily while multicasting for other rc multicast servers.
|
(package private) java.util.concurrent.CountDownLatch |
multicastResponse
Signal to coordinate the multicasting and waiting for responses.
|
(package private) java.lang.String |
respondingHost
The host of the responding server to initial multicast probes of the local subnet.
|
(package private) int |
serverPort
This server's UDP listening port.
|
(package private) DataTransportImplEmu |
transport |
Constructor and Description |
---|
LocalEmuDomainServer(int port,
java.lang.String expid,
java.lang.String name,
DataTransportImplEmu transport) |
Modifier and Type | Method and Description |
---|---|
LocalEmuDomainTcpServer |
getTcpServer() |
void |
run() |
void |
stopServer()
Stop all communication with Emu domain clients.
|
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, yield
java.lang.String domain
final int serverPort
int localTempPort
java.util.concurrent.CountDownLatch multicastResponse
java.lang.String respondingHost
volatile boolean acceptingClients
final DataTransportImplEmu transport
public LocalEmuDomainServer(int port, java.lang.String expid, java.lang.String name, DataTransportImplEmu transport) throws org.jlab.coda.cMsg.cMsgException
org.jlab.coda.cMsg.cMsgException
public LocalEmuDomainTcpServer getTcpServer()
public void stopServer()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread