jnr.ffi.provider.jffi
Class NativeClosure
java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.WeakReference<Object>
jnr.ffi.provider.jffi.NativeClosure
- All Implemented Interfaces:
- com.kenai.jffi.Closure
public abstract class NativeClosure
- extends WeakReference<Object>
- implements com.kenai.jffi.Closure
| Nested classes/interfaces inherited from interface com.kenai.jffi.Closure |
com.kenai.jffi.Closure.Buffer, com.kenai.jffi.Closure.Handle |
|
Method Summary |
Integer |
getKey()
|
void |
invoke(com.kenai.jffi.Closure.Buffer buffer)
|
protected abstract void |
invoke(com.kenai.jffi.Closure.Buffer buffer,
Object callable)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
runtime
protected final NativeRuntime runtime
NativeClosure
public NativeClosure(NativeRuntime runtime,
Object callable,
ReferenceQueue<Object> queue,
Integer key)
invoke
public final void invoke(com.kenai.jffi.Closure.Buffer buffer)
- Specified by:
invoke in interface com.kenai.jffi.Closure
getKey
public Integer getKey()
invoke
protected abstract void invoke(com.kenai.jffi.Closure.Buffer buffer,
Object callable)
Copyright © 2012. All Rights Reserved.