InvocationBuffer that packs its parameters onto
a java heap allocated buffer.
| Modifier and Type | Class and Description |
|---|---|
| private abstract static class | |
| private static class | HeapInvocationBuffer.
Big endian, 32 bit array encoder |
| private static class | HeapInvocationBuffer.
Big endian, 64 bit array encoder |
| private abstract static class | HeapInvocationBuffer.
Base class for all big-endian architecture array encoders. |
| private static class | |
| pack-priv abstract static class | HeapInvocationBuffer.
Encodes java data types into native parameter frames |
| private static class | |
| private static class | HeapInvocationBuffer.
Little endian, 32 bit implementation of |
| private static class | HeapInvocationBuffer.
Little endian, 64 bit implementation of |
| private abstract static class | HeapInvocationBuffer.
Base class for all little-endian architecture array encoders. |
| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private final CallContext | |
| private ObjectBuffer | |
| private static final int | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | HeapInvocationBuffer(Function
The function that this buffer is going to be used with. function)Creates a new instance of |
| public | HeapInvocationBuffer(CallContext
The callContext)CallContext describing how the function should be invokedCreates a new instance of |
| public | HeapInvocationBuffer(CallContext
The context, int objectCount)CallContext describing how the function should be invokedCreates a new instance of |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv byte[] | |
| private final ObjectBuffer | |
| pack-priv ObjectBuffer | Returns: AnObjectBufferGets the object buffer used to store java heap array parameters |
| public final void | putAddress(final long
A native address value to use as the parameter. value)Implements abstract com. |
| public final void | putArray(final byte[]
The java array to use as the pointer parameter. array, int The offset from the start of the array. offset, int The length of the array to use. length, int The flags to use (IN, OUT) flags)Implements abstract com. |
| public final void | putArray(final short[]
The java array to use as the pointer parameter. array, int The offset from the start of the array. offset, int The length of the array to use. length, int The flags to use (IN, OUT) flags)Implements abstract com. |
| public final void | putArray(final int[]
The java array to use as the pointer parameter. array, int The offset from the start of the array. offset, int The length of the array to use. length, int The flags to use (IN, OUT) flags)Implements abstract com. |
| public final void | putArray(final long[]
The java array to use as the pointer parameter. array, int The offset from the start of the array. offset, int The length of the array to use. length, int The flags to use (IN, OUT) flags)Implements abstract com. |
| public final void | putArray(final float[]
The java array to use as the pointer parameter. array, int The offset from the start of the array. offset, int The length of the array to use. length, int The flags to use (IN, OUT) flags)Implements abstract com. |
| public final void | putArray(final double[]
The java array to use as the pointer parameter. array, int The offset from the start of the array. offset, int The length of the array to use. length, int The flags to use (IN, OUT) flags)Implements abstract com. |
| public final void | putByte(final int
An 8 bit integer value to use as the parameter. value)Implements abstract com. |
| public final void | putDirectBuffer(final Buffer
The buffer to use as a pointer argument. value, int An offset to add to the buffer native address. offset, int The length of the buffer to use. length)Implements abstract com. |
| public final void | putDouble(final double
A 64 bit floating point value to use as the parameter. value)Implements abstract com. |
| public final void | putFloat(final float
A 32 bit floating point value to use as the parameter. value)Implements abstract com. |
| public final void | putInt(final int
A 32 bit integer value to use as the parameter. value)Implements abstract com. |
| public final void | |
| public final void | |
| public final void | putLong(final long
A 64 bit integer value to use as the parameter. value)Implements abstract com. |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | putShort(final int
A 16 bit integer value to use as the parameter. value)Implements abstract com. |
| public final void | putStruct(final byte[]
A java byte array with the struct contents. struct, int The offset from the start of the array. offset)Implements abstract com. |
| public final void | putStruct(final long
The native address to use as the struct contents. struct)Implements abstract com. |