Package var.web.ws.sensor
Class SensorSimulator
- java.lang.Object
-
- java.lang.Thread
-
- var.web.ws.sensor.SensorSimulator
-
- All Implemented Interfaces:
java.lang.Runnable
public class SensorSimulator extends java.lang.Thread
-
-
Constructor Summary
Constructors Constructor Description SensorSimulator(javax.websocket.Session session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
notifyClient()
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
-
SensorSimulator
public SensorSimulator(javax.websocket.Session session)
-
-
Method Detail
-
notifyClient
public void notifyClient() throws java.io.IOException
- Throws:
java.io.IOException
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
- Overrides:
run
in classjava.lang.Thread
-
-