|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.xbus.technical.misc.ProgramCaller
public class ProgramCaller
Used by ProgramSender.execute(String, String)together with the
TimedCallableto 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 - ignored| Method Detail |
|---|
public java.lang.Object call()
throws XException
call in interface CallableXExceptionpublic void stop()
stop in interface Callable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||