com.jniwrapper
Class FunctionCall

java.lang.Object
  |
  +--com.jniwrapper.FunctionCall

public class FunctionCall
extends java.lang.Object

This is a helper class for improving performance of a function invocation.


Field Summary
protected static Parameter[] EMPTY_PARAMS
           
 
Constructor Summary
FunctionCall()
           
 
Method Summary
 void call(int libraryID, long functionID, byte callingConvention, Parameter returnValue, Parameter[] parameters)
           
 void callVirtual(long vtblAddress, int funcIndex, byte callingConvention, Parameter returnValue, Parameter[] parameters)
           
static FunctionCall getSharedInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_PARAMS

protected static final Parameter[] EMPTY_PARAMS
Constructor Detail

FunctionCall

public FunctionCall()
Method Detail

getSharedInstance

public static FunctionCall getSharedInstance()

call

public void call(int libraryID,
                 long functionID,
                 byte callingConvention,
                 Parameter returnValue,
                 Parameter[] parameters)
          throws FunctionExecutionException
FunctionExecutionException

callVirtual

public void callVirtual(long vtblAddress,
                        int funcIndex,
                        byte callingConvention,
                        Parameter returnValue,
                        Parameter[] parameters)
                 throws FunctionExecutionException
FunctionExecutionException