public class LightSystem
extends java.lang.Thread
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_PORT |
static java.lang.String |
HIGH |
static java.lang.String |
LOW |
Constructor and Description |
---|
LightSystem() |
LightSystem(int port) |
Modifier and Type | Method and Description |
---|---|
static java.util.Random |
getRandom() |
void |
run() |
void |
switchOff() |
void |
switchOn() |
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 static final int DEFAULT_PORT
public static final java.lang.String HIGH
public static final java.lang.String LOW