Top Fields Constructors Methods
com.kenai.jffi

pack-priv final Class NativeObjectParameterInvoker

extends ObjectParameterInvoker
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final Foreign

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public final long
invokeN1O1(CallContext ctx, long fn, long n1, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags)

public final long
invokeN1O1rN(Function
The Function to invoke.
function
,
long
numeric argument.
n1
,
Object
array or buffer, to be passed as a pointer for the first numeric parameter.
o1
,
int
offset from the start of the array or buffer.
o1off
,
int
length of the array to use.
o1len
,
ObjectParameterInfo
object flags (type, direction, parameter index).
o1flags
)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN1O1rN.

Invokes a function with one numeric argument (which may be a pointer), and returns a numeric value.
public final long
invokeN2O1(CallContext ctx, long
The Function to invoke.
function
,
long
first numeric argument.
n1
,
long
The second numeric argument.
n2
,
Object
array or buffer, to be passed as a pointer for the first numeric parameter.
o1
,
int
offset from the start of the array or buffer.
o1off
,
int
length of the array to use.
o1len
,
ObjectParameterInfo
object flags (type, direction, parameter index).
o1flags
)

Invokes a function with two numeric arguments, and returns a numeric value.

public final long
invokeN2O1rN(Function
The Function to invoke.
function
,
long
first numeric argument.
n1
,
long
The second numeric argument.
n2
,
Object
array or buffer, to be passed as a pointer for the first numeric parameter.
o1
,
int
offset from the start of the array or buffer.
o1off
,
int
length of the array to use.
o1len
,
ObjectParameterInfo
object flags (type, direction, parameter index).
o1flags
)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN2O1rN.

Invokes a function with two numeric arguments, and returns a numeric value.
public final long
invokeN2O2rN(Function
The Function to invoke.
function
,
long
The first numeric argument.
n1
,
long
The second numeric argument.
n2
,
Object
An Object (array or buffer), to be passed as a pointer.
o1
,
int
The offset from the start of the array or buffer.
o1off
,
int
The length of the array to use.
o1len
,
ObjectParameterInfo
Object flags (direction, type, parameter index).
o1flags
,
Object
An Object (array or buffer), to be passed as a pointer.
o2
,
int
The offset from the start of the array or buffer.
o2off
,
int
The length of the array to use.
o2len
,
ObjectParameterInfo
Object flags (direction, type, idx).
o2flags
)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN2O2rN.

Invokes a function with two numeric arguments, and returns a numeric value.
public final long
invokeN3O1rN(Function
The Function to invoke.
function
,
long
The first numeric argument.
n1
,
long
The second numeric argument.
n2
,
long
The third numeric argument.
n3
,
Object
An Object (array or buffer), to be passed as a pointer.
o1
,
int
The offset from the start of the array or buffer.
o1off
,
int
The length of the array to use.
o1len
,
ObjectParameterInfo
Object flags (direction, type, parameter index).
o1flags
)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN3O1rN.

Invokes a function with two numeric arguments, and returns a numeric value.
public final long
invokeN3O2rN(Function
The Function to invoke.
function
,
long
The first numeric argument.
n1
,
long
The second numeric argument.
n2
,
long
The third numeric argument.
n3
,
Object
An Object (array or buffer), to be passed as a pointer.
o1
,
int
The offset from the start of the array or buffer.
o1off
,
int
The length of the array to use.
o1len
,
ObjectParameterInfo
Object flags (direction, type, parameter index).
o1flags
,
Object
An Object (array or buffer), to be passed as a pointer.
o2
,
int
The offset from the start of the array or buffer.
o2off
,
int
The length of the array to use.
o2len
,
ObjectParameterInfo
Object flags (direction, type, idx).
o2flags
)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN3O2rN.

Invokes a function with two numeric arguments, and returns a numeric value.
public final long
invokeN3O3rN(Function function, long n1, long n2, long n3, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN3O3rN.

public final long
invokeN4O1rN(Function function, long n1, long n2, long n3, long n4, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN4O1rN.

public final long
invokeN4O2rN(Function function, long n1, long n2, long n3, long n4, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN4O2rN.

public final long
invokeN4O3rN(Function function, long n1, long n2, long n3, long n4, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN4O3rN.

public long
invokeN5O1rN(Function function, long n1, long n2, long n3, long n4, long n5, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN5O1rN.

public long
invokeN5O2rN(Function function, long n1, long n2, long n3, long n4, long n5, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN5O2rN.

public final long
invokeN5O3rN(Function function, long n1, long n2, long n3, long n4, long n5, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN5O3rN.

public long
invokeN6O1rN(Function function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN6O1rN.

public long
invokeN6O2rN(Function function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN6O2rN.

public final long
invokeN6O3rN(Function function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN6O3rN.

public final boolean
Inherited from com.kenai.jffi.ObjectParameterInvoker:
getInstancenewHeapInvokernewNativeInvoker

Field Detail

foreignback to summary
private final Foreign foreign

Constructor Detail

NativeObjectParameterInvokerback to summary
pack-priv NativeObjectParameterInvoker(Foreign foreign)

Method Detail

invokeN1O1back to summary
public final long invokeN1O1(CallContext ctx, long fn, long n1, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags)
invokeN1O1rNback to summary
public final long invokeN1O1rN(Function function, long n1, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN1O1rN.

Doc from com.kenai.jffi.ObjectParameterInvoker.invokeN1O1rN.

Invokes a function with one numeric argument (which may be a pointer), and returns a numeric value.

Parameters
function:Function

The Function to invoke.

n1:long

numeric argument.

o1:Object

array or buffer, to be passed as a pointer for the first numeric parameter.

o1off:int

offset from the start of the array or buffer.

o1len:int

length of the array to use.

o1flags:ObjectParameterInfo

object flags (type, direction, parameter index).

invokeN2O1back to summary
public final long invokeN2O1(CallContext ctx, long function, long n1, long n2, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags)

Invokes a function with two numeric arguments, and returns a numeric value.

Parameters
function:long

The Function to invoke.

n1:long

first numeric argument.

n2:long

The second numeric argument.

o1:Object

array or buffer, to be passed as a pointer for the first numeric parameter.

o1off:int

offset from the start of the array or buffer.

o1len:int

length of the array to use.

o1flags:ObjectParameterInfo

object flags (type, direction, parameter index).

invokeN2O1rNback to summary
public final long invokeN2O1rN(Function function, long n1, long n2, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN2O1rN.

Invokes a function with two numeric arguments, and returns a numeric value.

Parameters
function:Function

The Function to invoke.

n1:long

first numeric argument.

n2:long

The second numeric argument.

o1:Object

array or buffer, to be passed as a pointer for the first numeric parameter.

o1off:int

offset from the start of the array or buffer.

o1len:int

length of the array to use.

o1flags:ObjectParameterInfo

object flags (type, direction, parameter index).

invokeN2O2rNback to summary
public final long invokeN2O2rN(Function function, long n1, long n2, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN2O2rN.

Invokes a function with two numeric arguments, and returns a numeric value.

Parameters
function:Function

The Function to invoke.

n1:long

The first numeric argument.

n2:long

The second numeric argument.

o1:Object

An Object (array or buffer), to be passed as a pointer.

o1off:int

The offset from the start of the array or buffer.

o1len:int

The length of the array to use.

o1flags:ObjectParameterInfo

Object flags (direction, type, parameter index).

o2:Object

An Object (array or buffer), to be passed as a pointer.

o2off:int

The offset from the start of the array or buffer.

o2len:int

The length of the array to use.

o2flags:ObjectParameterInfo

Object flags (direction, type, idx).

invokeN3O1rNback to summary
public final long invokeN3O1rN(Function function, long n1, long n2, long n3, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN3O1rN.

Invokes a function with two numeric arguments, and returns a numeric value.

Parameters
function:Function

The Function to invoke.

n1:long

The first numeric argument.

n2:long

The second numeric argument.

n3:long

The third numeric argument.

o1:Object

An Object (array or buffer), to be passed as a pointer.

o1off:int

The offset from the start of the array or buffer.

o1len:int

The length of the array to use.

o1flags:ObjectParameterInfo

Object flags (direction, type, parameter index).

invokeN3O2rNback to summary
public final long invokeN3O2rN(Function function, long n1, long n2, long n3, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN3O2rN.

Invokes a function with two numeric arguments, and returns a numeric value.

Parameters
function:Function

The Function to invoke.

n1:long

The first numeric argument.

n2:long

The second numeric argument.

n3:long

The third numeric argument.

o1:Object

An Object (array or buffer), to be passed as a pointer.

o1off:int

The offset from the start of the array or buffer.

o1len:int

The length of the array to use.

o1flags:ObjectParameterInfo

Object flags (direction, type, parameter index).

o2:Object

An Object (array or buffer), to be passed as a pointer.

o2off:int

The offset from the start of the array or buffer.

o2len:int

The length of the array to use.

o2flags:ObjectParameterInfo

Object flags (direction, type, idx).

invokeN3O3rNback to summary
public final long invokeN3O3rN(Function function, long n1, long n2, long n3, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN3O3rN.

invokeN4O1rNback to summary
public final long invokeN4O1rN(Function function, long n1, long n2, long n3, long n4, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN4O1rN.

invokeN4O2rNback to summary
public final long invokeN4O2rN(Function function, long n1, long n2, long n3, long n4, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN4O2rN.

invokeN4O3rNback to summary
public final long invokeN4O3rN(Function function, long n1, long n2, long n3, long n4, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN4O3rN.

invokeN5O1rNback to summary
public long invokeN5O1rN(Function function, long n1, long n2, long n3, long n4, long n5, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN5O1rN.

Annotations
@Override
invokeN5O2rNback to summary
public long invokeN5O2rN(Function function, long n1, long n2, long n3, long n4, long n5, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN5O2rN.

Annotations
@Override
invokeN5O3rNback to summary
public final long invokeN5O3rN(Function function, long n1, long n2, long n3, long n4, long n5, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN5O3rN.

invokeN6O1rNback to summary
public long invokeN6O1rN(Function function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN6O1rN.

Annotations
@Override
invokeN6O2rNback to summary
public long invokeN6O2rN(Function function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN6O2rN.

Annotations
@Override
invokeN6O3rNback to summary
public final long invokeN6O3rN(Function function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags)

Implements abstract com.kenai.jffi.ObjectParameterInvoker.invokeN6O3rN.

isNativeback to summary
public final boolean isNative()

Implements abstract com.kenai.jffi.ObjectParameterInvoker.isNative.