UM Java API
6.16.1
|
Public Member Functions | |
LBMContextThread (LBMContext ctx) | |
LBMContextThread (LBMContext ctx, long msec) | |
void | terminate () |
void | run () |
LBM Context Thread class. This class provides a ready-to-use implementation of a context thread, especially for sequential mode applications. Once created, the thread must be started by invoking the start() method.
com.latencybusters.lbm.LBMContextThread.LBMContextThread | ( | LBMContext | ctx | ) |
Instantiate an LBM Context Thread object.
ctx | LBMContext to run on this thread. The thread will run for 1000ms at a time. |
com.latencybusters.lbm.LBMContextThread.LBMContextThread | ( | LBMContext | ctx, |
long | msec | ||
) |
Instantiate an LBM Context Thread object.
ctx | LBMContext to run on this thread. |
msec | Milliseconds at a time to run the thread. |
void com.latencybusters.lbm.LBMContextThread.terminate | ( | ) |
Stop the context thread.
References com.latencybusters.lbm.LBMContext.processEvents(), and com.latencybusters.lbm.LBMContext.unblockProcessEvents().