|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface specifies the methods that the Main JVM exposes for the InterpreterJVM to call.
Method Summary | |
void |
checkStillAlive()
The interpreter JVM calls this method periodically to ensure the main VM is still alive. |
void |
nonTestCase()
|
void |
registerInterpreterJVM(InterpreterJVMRemoteI remote)
Registers the interpreter JVM for later callbacks. |
void |
returnedResult(String result)
Signifies that the most recent interpretation completed successfully, returning a value. |
void |
returnedVoid()
Signifies that the most recent interpretation completed successfully, returning no value. |
void |
systemErrPrint(String s)
|
void |
systemOutPrint(String s)
|
void |
testFinished(JUnitError[] errors)
|
void |
threwException(String exceptionClass,
String message,
String stackTrace)
Signifies that the most recent interpretation was ended due to an exception being thrown. |
Method Detail |
public void systemErrPrint(String s) throws RemoteException
public void systemOutPrint(String s) throws RemoteException
public void registerInterpreterJVM(InterpreterJVMRemoteI remote) throws RemoteException
remote
- The interpreter JVM controller.public void returnedVoid() throws RemoteException
public void returnedResult(String result) throws RemoteException
result
- The .toString-ed version of the value that was returned
by the interpretation. We must return the String form
because returning the Object directly would require the
data type to be serializable.public void threwException(String exceptionClass, String message, String stackTrace) throws RemoteException
exceptionClass
- The name of the class of the thrown exceptionmessage
- The exception's messagestackTrace
- The stack trace of the exceptionpublic void checkStillAlive() throws RemoteException
public void nonTestCase() throws RemoteException
public void testFinished(JUnitError[] errors) throws RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |