com.jniwrapper
Class FunctionCall

java.lang.Object
  extended by com.jniwrapper.FunctionCall

public class FunctionCall
extends java.lang.Object

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


Constructor Summary
FunctionCall()
           
 
Method Summary
 long call(int libraryID, int functionID, byte callingConvention, Parameter returnValue, Parameter[] parameters)
          Deprecated. This method is incompatible with 64-bit architectures. Use call(long, long, byte, Parameter, Parameter[]) instead.
 long call(long libraryID, long functionID, byte callingConvention, Parameter returnValue, Parameter[] parameters)
           
 long callVirtual(int vtblAddress, int funcIndex, byte callingConvention, Parameter returnValue, Parameter[] parameters)
          Deprecated. This method is incompatible with 64-bit architectures. Use callVirtual(long, int, byte, Parameter, Parameter[]) instead.
 long 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
 

Constructor Detail

FunctionCall

public FunctionCall()
Method Detail

getSharedInstance

public static FunctionCall getSharedInstance()

call

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

call

public long call(int libraryID,
                 int functionID,
                 byte callingConvention,
                 Parameter returnValue,
                 Parameter[] parameters)
          throws FunctionExecutionException
Deprecated. This method is incompatible with 64-bit architectures. Use call(long, long, byte, Parameter, Parameter[]) instead.

Throws:
FunctionExecutionException

callVirtual

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

callVirtual

public long callVirtual(int vtblAddress,
                        int funcIndex,
                        byte callingConvention,
                        Parameter returnValue,
                        Parameter[] parameters)
                 throws FunctionExecutionException
Deprecated. This method is incompatible with 64-bit architectures. Use callVirtual(long, int, byte, Parameter, Parameter[]) instead.

Throws:
FunctionExecutionException