com.sun.jna
class CallbackReference extends WeakReference
Field Summary | |
---|---|
static Map | allocations |
static Map | callbackMap |
Pointer | cbstruct |
static Map | directCallbackMap |
Method | method |
CallbackProxy | proxy |
Method Summary | |
---|---|
protected void | finalize() Free native resources associated with this callback. |
static Class | findCallbackClass(Class type) Find the first instance of an interface which implements the Callback
interface or an interface derived from Callback, which defines an
appropriate callback method. |
static Callback | getCallback(Class type, Pointer p) Return a Callback associated with the given function pointer.
|
static Pointer | getFunctionPointer(Callback cb) Return a Pointer to the native function address for the
given callback. |
Pointer | getTrampoline() Obtain a pointer to the native glue code for this callback. |