public class SwitchLightPanel
extends java.lang.Thread
Constructor and Description |
---|
SwitchLightPanel(java.lang.String name,
java.lang.String host,
int port)
This is almost identical to a LightPanel, except we won't be
writing out anything to the socket.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isOn() |
void |
run()
Read the socket from the LightSystem and turn isHigh to true or false
depending on what values you get from the LightSystem.
|
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
public SwitchLightPanel(java.lang.String name, java.lang.String host, int port)