Module openj9.dtfj
Interface FunctionEmulator.CallbackFunction
-
- Enclosing class:
- FunctionEmulator
public static interface FunctionEmulator.CallbackFunction
This interface is similar to Emulator.CallbackFunction except that it adds the ability to set the return value from the function (which is XPLINK specific).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
call(FunctionEmulator em)
This method will be called when the emulator finds a call to the registered function entry point (seeFunctionEmulator.registerCallbackFunction(com.ibm.j9ddr.corereaders.tdump.zebedee.le.FunctionEmulator.CallbackFunction)
).
-
-
-
Method Detail
-
call
long call(FunctionEmulator em) throws IOException, FunctionEmulator.CallOriginalException
This method will be called when the emulator finds a call to the registered function entry point (seeFunctionEmulator.registerCallbackFunction(com.ibm.j9ddr.corereaders.tdump.zebedee.le.FunctionEmulator.CallbackFunction)
). The return value from this method represents the return value that the emulator sees after it has made the call. If the called method throws CallOriginalException then execution will resume with the original overridden function.
-
-