final class CallbackMemoryIO extends InvalidMemoryIO implements AllocatedDirectMemoryIO
| Modifier and Type | Field and Description |
|---|---|
private com.kenai.jffi.Closure.Handle |
handle |
private java.lang.Object |
proc |
private boolean |
released |
private boolean |
unmanaged |
runtime| Constructor and Description |
|---|
CallbackMemoryIO(Ruby runtime,
com.kenai.jffi.Closure.Handle handle) |
CallbackMemoryIO(Ruby runtime,
com.kenai.jffi.Closure.Handle handle,
java.lang.Object proc) |
| Modifier and Type | Method and Description |
|---|---|
void |
free() |
boolean |
isAutoRelease() |
void |
setAutoRelease(boolean autorelease) |
array, arrayLength, arrayOffset, asByteBuffer, clear, dup, ex, get, get, get, get, get, get, getAddress, getByte, getDouble, getErrorClass, getFloat, getInt, getLong, getMemoryIO, getNativeLong, getShort, getZeroTerminatedByteArray, getZeroTerminatedByteArray, indexOf, indexOf, order, put, put, put, put, put, put, putAddress, putByte, putDouble, putFloat, putInt, putLong, putMemoryIO, putNativeLong, putShort, putZeroTerminatedByteArray, setMemory, slice, sliceprivate final com.kenai.jffi.Closure.Handle handle
private volatile boolean released
private volatile boolean unmanaged
private java.lang.Object proc
public CallbackMemoryIO(Ruby runtime, com.kenai.jffi.Closure.Handle handle, java.lang.Object proc)
public CallbackMemoryIO(Ruby runtime, com.kenai.jffi.Closure.Handle handle)
public void free()
free in interface AllocatedDirectMemoryIOpublic void setAutoRelease(boolean autorelease)
setAutoRelease in interface AllocatedDirectMemoryIOpublic boolean isAutoRelease()
isAutoRelease in interface AllocatedDirectMemoryIO