![]() |
Qore jni Module 2.4.0
|
Represents an invocation handler used to implement callback from Java to Qore. More...
#include <QC_QoreInvocationHandler.dox.h>
Inherits InvocationHandler.
Public Member Methods | |
| constructor (code dispatcher) | |
| Creates a new invocation handler. | |
| nothing | destroy () |
| Explicitly destroys the invocation handler even if it is still reachable from Java. | |
| auto | invoke (auto object, *Jni::java::lang::reflect::Method method, softlist< auto > vargs) |
| invocation method for the handler | |
Represents an invocation handler used to implement callback from Java to Qore.
| Jni::org::qore::jni::QoreInvocationHandler::constructor | ( | code | dispatcher | ) |
Creates a new invocation handler.
| dispatcher | a function that implements the dispatching, see example |
| auto Jni::org::qore::jni::QoreInvocationHandler::invoke | ( | auto | object, |
| *Jni::java::lang::reflect::Method | method, | ||
| softlist< auto > | vargs | ||
| ) |
invocation method for the handler
| ERROR-UNSUPPORTED | when called from Qore; currently this can only be invoked from Java |