Package org.opentrafficsim.remotecontrol
Class Sim0MQRemoteControllerNew.PollerThread
- java.lang.Object
-
- java.lang.Thread
-
- org.opentrafficsim.remotecontrol.Sim0MQRemoteControllerNew.PollerThread
-
- All Implemented Interfaces:
Runnable
- Enclosing class:
- Sim0MQRemoteControllerNew
class Sim0MQRemoteControllerNew.PollerThread extends Thread
Poller thread for relaying messages between the remote OTS and local AWT.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
Field Summary
-
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description PollerThread(org.zeromq.ZContext context, String slaveHost, int slavePort)
Construct a new PollerThread for relaying messages.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, 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, suspend, toString, yield
-
-
-
-
Constructor Detail
-
PollerThread
PollerThread(org.zeromq.ZContext context, String slaveHost, int slavePort)
Construct a new PollerThread for relaying messages.- Parameters:
context
- ZContext; the ZMQ contextslaveHost
- String; host name of the OTS server machineslavePort
- int; port number on which to connect to the OTS server machine
-
-