|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InvocationBuffer
A parameter buffer used when invoking a function
| Method Summary | |
|---|---|
void |
putAddress(long value)
Adds a native address parameter. |
void |
putArray(byte[] value,
int offset,
int length,
int flags)
Adds a java byte array as a pointer parameter. |
void |
putArray(double[] value,
int offset,
int length,
int flags)
Adds a java double array as a pointer parameter. |
void |
putArray(float[] value,
int offset,
int length,
int flags)
Adds a java float array as a pointer parameter. |
void |
putArray(int[] value,
int offset,
int length,
int flags)
Adds a java int array as a pointer parameter. |
void |
putArray(long[] value,
int offset,
int length,
int flags)
Adds a java long array as a pointer parameter. |
void |
putArray(short[] value,
int offset,
int length,
int flags)
Adds a java short array as a pointer parameter. |
void |
putByte(int value)
Adds an 8 bit integer parameter. |
void |
putDirectBuffer(java.nio.Buffer buffer,
int offset,
int length)
Adds a java direct buffer as a pointer parameter. |
void |
putDouble(double value)
Adds a 64 bit floating point parameter. |
void |
putFloat(float value)
Adds a 32 bit floating point parameter. |
void |
putInt(int value)
Adds a 32 bit integer parameter. |
void |
putLong(long value)
Adds a 64 bit integer parameter. |
void |
putShort(int value)
Adds a 16 bit integer parameter. |
void |
putStruct(byte[] struct,
int offset)
Adds a struct or union as a parameter. |
void |
putStruct(long struct)
Adds a struct or union as a parameter. |
| Method Detail |
|---|
void putByte(int value)
value - An 8 bit integer value to use as the parameter.void putShort(int value)
value - A 16 bit integer value to use as the parameter.void putInt(int value)
value - A 32 bit integer value to use as the parameter.void putLong(long value)
value - A 64 bit integer value to use as the parameter.void putFloat(float value)
value - A 32 bit floating point value to use as the parameter.void putDouble(double value)
value - A 64 bit floating point value to use as the parameter.void putAddress(long value)
value - A native address value to use as the parameter.
void putArray(byte[] value,
int offset,
int length,
int flags)
value - The java array to use as the pointer parameter.offset - The offset from the start of the array.length - The length of the array to use.flags - The flags to use (IN, OUT)
void putArray(short[] value,
int offset,
int length,
int flags)
value - The java array to use as the pointer parameter.offset - The offset from the start of the array.length - The length of the array to use.flags - The flags to use (IN, OUT)
void putArray(int[] value,
int offset,
int length,
int flags)
value - The java array to use as the pointer parameter.offset - The offset from the start of the array.length - The length of the array to use.flags - The flags to use (IN, OUT)
void putArray(long[] value,
int offset,
int length,
int flags)
value - The java array to use as the pointer parameter.offset - The offset from the start of the array.length - The length of the array to use.flags - The flags to use (IN, OUT)
void putArray(float[] value,
int offset,
int length,
int flags)
value - The java array to use as the pointer parameter.offset - The offset from the start of the array.length - The length of the array to use.flags - The flags to use (IN, OUT)
void putArray(double[] value,
int offset,
int length,
int flags)
value - The java array to use as the pointer parameter.offset - The offset from the start of the array.length - The length of the array to use.flags - The flags to use (IN, OUT)
void putDirectBuffer(java.nio.Buffer buffer,
int offset,
int length)
buffer - The buffer to use as a pointer argument.offset - An offset to add to the buffer native address.length - The length of the buffer to use.
void putStruct(byte[] struct,
int offset)
struct - A java byte array with the struct contents.offset - The offset from the start of the array.void putStruct(long struct)
struct - The native address to use as the struct contents.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||