| Package | Description |
|---|---|
| com.kenai.jffi |
| Class and Description |
|---|
| Aggregate |
| Array
Describes the layout of a C array
|
| 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.
|
| CallContextCache |
| CallContextCache.CallContextRef |
| CallContextCache.Signature |
| CallingConvention
Defines the function calling conventions.
|
| Closure
Represents a native closure.
|
| Closure.Buffer
An interface to the native callback parameter buffer.
|
| Closure.Handle
A Handle is allocated by the
ClosureManager, as a strong reference
to the native closure trampoline. |
| ClosureMagazine |
| ClosureManager
Allocates and manages the lifecycle of native closures (aka callbacks)
|
| ClosurePool |
| ClosurePool.Handle
Manages the lifecycle of a native closure.
|
| ClosurePool.Magazine |
| ClosurePool.Magazine.Slot |
| ClosurePool.MagazineHolder |
| ClosurePool.Proxy
This is a proxy passed to the native code, to be called by the
native trampoline code.
|
| DirectClosureBuffer.NativeWordIO
Reads annd writes data types that are smaller than the size of a native
long, as a native long for compatibility with FFI.
|
| Foreign |
| Foreign.InstanceHolder |
| Function
Native function invocation context
This class holds all the information that JFFI needs to correctly call a
native function.
|
| HeapInvocationBuffer
An implementation of
InvocationBuffer that packs its parameters onto
a java heap allocated buffer. |
| HeapInvocationBuffer.ArrayIO |
| HeapInvocationBuffer.BigEndianArrayIO
Base class for all big-endian architecture array encoders.
|
| HeapInvocationBuffer.Encoder
Encodes java data types into native parameter frames
|
| HeapInvocationBuffer.LittleEndianArrayIO
Base class for all little-endian architecture array encoders.
|
| InvocationBuffer
A parameter buffer used when invoking a function
|
| InvokeDynamicSupport.Invoker |
| InvokeDynamicSupport.JSR292 |
| Invoker
Provides native function invocation facilities.
|
| LastError
Provides access to the value of errno on unix, or GetLastError on windows.
|
| Library
Represents a native library
|
| MemoryIO
Provides facilities to access native memory from java.
|
| MemoryIO.NativeImpl
An implementation of MemoryIO using JNI methods.
|
| MemoryIO.UnsafeImpl
An implementation of MemoryIO using sun.misc.Unsafe
|
| NativeMethod
Represents a native implementation of a method for a class
|
| NativeMethods
Utility class to register native methods on a class
|
| NativeMethods.ResourceHolder |
| NativeType |
| ObjectBuffer
Holds objects the native code must handle - such as primitive arrays
|
| ObjectParameterInfo |
| ObjectParameterInfo.ComponentType |
| ObjectParameterInfo.ObjectType |
| ObjectParameterInvoker |
| ObjectParameterStrategy |
| ObjectParameterStrategy.StrategyType |
| ObjectParameterType
Describes the type of an object parameter (e.g.
|
| ObjectParameterType.ComponentType |
| ObjectParameterType.ObjectType |
| PageManager
Manages allocation, disposal and protection of native memory pages
|
| Platform
Convenience class to interrogate the system about various platform-specific details.
|
| Platform.CPU
The common names of cpu architectures.
|
| Platform.OS
The common names of operating systems.
|
| Struct
Describes the layout of a C struct
|
| Struct.StructReference |
| Type
Native parameter and return types.
|
| Type.TypeInfo
This is a lazy loaded cache of builtin type info, so we can still have
Type.VOID as a public static variable without it causing the
native library to load.
|
| Union
Describes the layout of a C union
|