|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.xbus.technical.misc.ProgramCaller
public class ProgramCaller
Used by ProgramSender.execute(String, String)
together with the
TimedCallable
to be able to stop
the execution of the program after a timeout.
Constructor Summary | |
---|---|
ProgramCaller(XBUSSystem destination,
java.lang.String callData)
Stores the destination. |
Method Summary | |
---|---|
java.lang.Object |
call()
Calls an external program. |
void |
stop()
Stopping the execution of the program by destroying the program. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProgramCaller(XBUSSystem destination, java.lang.String callData)
destination
- name of the interface definitioncallData
- ignoredMethod Detail |
---|
public java.lang.Object call() throws XException
call
in interface Callable
XException
public void stop()
stop
in interface Callable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |