Top Interfaces Classes Enums
[default module]

Package com.kenai.jffi


Interface Summary

Modifier and TypeInterface and Description
public interface
Closure

Represents a native closure.

Class Summary

Modifier and TypeClass and Description
public abstract class
public class
Array

Describes the layout of a C array

public class
ArrayFlags

Flags to use when adding an array as a pointer parameter

public class
CallContext

Native function call context This class holds all the information that JFFI needs to correctly call a native function, or to implement a callback from native code to java.

public class
public class
public class
ClosureManager

Allocates and manages the lifecycle of native closures (aka callbacks)

public class
pack-priv class
DirectClosureBuffer

Implementation of the Closure.Buffer interface to read/write parameter and return value data in native memory

public abstract class
public class
pack-priv class
public class
Function

Native function invocation context This class holds all the information that JFFI needs to correctly call a native function.

public class
HeapInvocationBuffer

An implementation of InvocationBuffer that packs its parameters onto a java heap allocated buffer.

pack-priv class
pack-priv class
Init

Utility class to load the jffi stub library

public class
Internals

Retrieves metadata about jffi C internals

public abstract class
InvocationBuffer

A parameter buffer used when invoking a function

public class
InvokeDynamicSupport

Provide a factory for invokedynamic handles that are bound to a particular call context+function

public abstract class
Invoker

Provides native function invocation facilities.

public class
LastError

Provides access to the value of errno on unix, or GetLastError on windows.

public class
Library

Represents a native library

public class
public abstract class
MemoryIO

Provides facilities to access native memory from java.

public class
NativeMethod

Represents a native implementation of a method for a class

public class
NativeMethods

Utility class to register native methods on a class

pack-priv class
pack-priv class
ObjectBuffer

Holds objects the native code must handle - such as primitive arrays

public class
public abstract class
public abstract class
public class
ObjectParameterType

Describes the type of an object parameter (e.g. byte array, byte buffer)

public abstract class
PageManager

Manages allocation, disposal and protection of native memory pages

public abstract class
Platform

Convenience class to interrogate the system about various platform-specific details.

public class
Struct

Describes the layout of a C struct

public abstract class
Type

Native parameter and return types.

public class
Union

Describes the layout of a C union

public abstract class
UnsafeMemoryIO

An implementation of MemoryIO using sun.misc.Unsafe

public class
public class

Enum Summary

Modifier and TypeEnum and Description
public enum
CallingConvention

Defines the function calling conventions.

public enum