|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.fosstrak.capturingapp.util.CaptureAppWorker
public class CaptureAppWorker
tiny helper to execute a capture application and at the same time maintain a handle to it.
Constructor Summary | |
---|---|
CaptureAppWorker(java.lang.String identifier,
CaptureApp cap)
creates a new worker. |
Method Summary | |
---|---|
CaptureApp |
getCaptureApp()
|
java.lang.String |
getIdentifier()
|
void |
start()
start the execution of the worker. |
void |
stop()
stop the execution of the worker. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CaptureAppWorker(java.lang.String identifier, CaptureApp cap)
identifier
- an identifier for this worker/capture application.cap
- a handle to the executor service running the capture application.Method Detail |
---|
public void start()
public void stop()
public CaptureApp getCaptureApp()
public final java.lang.String getIdentifier()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |