public class ZtexEventHandler
extends java.lang.Thread
Constructor and Description |
---|
ZtexEventHandler(org.usb4java.Context p_context)
Creates the event handler for a given USB context.
|
ZtexEventHandler(Ztex1 ztex)
Creates the event handler for a given ZTEX device.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
The thread body.
|
boolean |
terminate()
Stops the event handler.
|
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 ZtexEventHandler(org.usb4java.Context p_context)
p_context
- The USB contextpublic ZtexEventHandler(Ztex1 ztex)
ztex
- The ZTEX device