Package de.gmxhome.conrad.jpos.jpos_base
Class JposOutputRequest.JposRequestThread
java.lang.Object
java.lang.Thread
de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest.JposRequestThread
- All Implemented Interfaces:
Runnable
- Enclosing class:
- JposOutputRequest
Helper thread for asynchronous method processing. One thread per device, even if the device supports multiple
device classes. Will not be used for methods that support concurrent execution, see JposBaseDevice -
createRequestThread.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic List<SynchronizedMessageBox>
List containing all active message box objects.Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
ConstructorsConstructorDescriptionJposRequestThread(Runnable runner, JposOutputRequest req)
Constructor, creates asynchronous request handler thread for the specified request using the specified request runner. -
Method Summary
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, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Field Details
-
ActiveMessageBoxes
List containing all active message box objects.
-
-
Constructor Details
-
JposRequestThread
Constructor, creates asynchronous request handler thread for the specified request using the specified request runner.- Parameters:
runner
- Runnable to be used for request handling.req
- Request to be handled.
-