jnr.ffi.Runtime subclass that throws exceptions for all methods
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | addressMask()
Implements abstract jnr. |
| public int | addressSize()
Implements abstract jnr. |
| public ByteOrder | byteOrder()
Implements abstract jnr. |
| public Type | findType(NativeType
The native pseudo-type. type)Implements abstract jnr. |
| public Type | findType(TypeAlias
the type alias. type)Implements abstract jnr. |
| public ClosureManager | getClosureManager()
Implements abstract jnr. |
| public int | |
| public MemoryManager | getMemoryManager()
Implements abstract jnr. |
| public boolean | isCompatible(Runtime
the other runtime to test for compatibility other)Implements abstract jnr. Runtime instance is compatible with another Runtime instance.
|
| public int | longSize()
Implements abstract jnr. |
| private UnsatisfiedLinkError | |
| public ObjectReferenceManager | newObjectReferenceManager()
Implements abstract jnr. ObjectReferenceManager
|
| public void | setLastError(int
The value to set errno to. error)Implements abstract jnr. |
| cause | back to summary |
|---|---|
| private final Throwable cause | |
| message | back to summary |
|---|---|
| private final String message | |
| InvalidRuntime | back to summary |
|---|---|
| pack-priv InvalidRuntime(String message, Throwable cause) | |
| addressMask | back to summary |
|---|---|
| public long addressMask() Implements abstract jnr. Doc from jnr. Gets the address mask for this runtime
| |
| addressSize | back to summary |
|---|---|
| public int addressSize() Implements abstract jnr. Doc from jnr. Gets the size of an address (e.g. a pointer) for this runtime
| |
| byteOrder | back to summary |
|---|---|
| public ByteOrder byteOrder() Implements abstract jnr. Doc from jnr. Gets the native byte order of the runtime. | |
| findType | back to summary |
|---|---|
| public Type findType(NativeType type) Implements abstract jnr. Doc from jnr. Looks up the runtime-specific type that corresponds to the pseudo-type
| |
| findType | back to summary |
|---|---|
| public Type findType(TypeAlias type) Implements abstract jnr. Doc from jnr. Looks up the runtime-specific type that corresponds to the type alias | |
| getClosureManager | back to summary |
|---|---|
| public ClosureManager getClosureManager() Implements abstract jnr. Doc from jnr. Gets the native closure manager for this runtime
| |
| getLastError | back to summary |
|---|---|
| public int getLastError() Implements abstract jnr. Doc from jnr. Gets the last native error code. This returns the errno value that was set at the time of the last native function call.
| |
| getMemoryManager | back to summary |
|---|---|
| public MemoryManager getMemoryManager() Implements abstract jnr. Doc from jnr. Gets the native memory manager for this runtime
| |
| isCompatible | back to summary |
|---|---|
| public boolean isCompatible(Runtime other) Implements abstract jnr. Doc from jnr. Indicates whether this
This is not the same as calling This is mostly for internal use. | |
| longSize | back to summary |
|---|---|
| public int longSize() Implements abstract jnr. Doc from jnr. Gets the size of a C long integer for this runtime
| |
| newLoadError | back to summary |
|---|---|
| private UnsatisfiedLinkError newLoadError() | |
| newObjectReferenceManager | back to summary |
|---|---|
| public ObjectReferenceManager Implements abstract jnr. Doc from jnr. Creates a new
| |
| setLastError | back to summary |
|---|---|
| public void setLastError(int error) Implements abstract jnr. Doc from jnr. Sets the native error code.
| |