class iRobotCreate.CommandQMonitor extends Thread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
private boolean |
blocked |
private ConcurrentLinkedQueue<byte[]> |
commandQ |
(package private) boolean |
sleeping |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
CommandQMonitor() |
Modifier and Type | Method and Description |
---|---|
void |
add(byte[] b) |
void |
block() |
void |
bypass(byte... bytes) |
void |
bypassAndFlush(byte... bytes) |
boolean |
isblocked() |
boolean |
isEmpty() |
boolean |
isSleeping() |
void |
run() |
void |
unblock() |
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
private boolean blocked
private ConcurrentLinkedQueue<byte[]> commandQ
boolean sleeping
public boolean isEmpty()
public void add(byte[] b)
public void block()
public void unblock()
public boolean isblocked()
public void bypass(byte... bytes)
public void bypassAndFlush(byte... bytes)
public boolean isSleeping()