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
Modifier and TypeMethodDescriptionlong
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 Details
-
call
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.
-