|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.xbus.technical.java.JavaCaller
public class JavaCaller
Used by JavaSender.execute(String, Object) together with the
TimedCallable to be able to stop
the execution of the program after a timeout.
| Constructor Summary | |
|---|---|
JavaCaller(XBUSSystem destination,
java.lang.String function,
java.lang.Object callData,
boolean isText)
Stores the given data. |
|
| Method Summary | |
|---|---|
java.lang.Object |
call()
Calling the Java method. |
void |
stop()
Stopping the execution of the program by doing nothing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaCaller(XBUSSystem destination,
java.lang.String function,
java.lang.Object callData,
boolean isText)
destination - name of the interface definitionfunction - used to determine the methodcallData - data to be sendisText - indicates whether the method accepts a String (true)
or an Object (false)| 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 | ||||||||