All Classes
-
All Classes Interface Summary Class Summary Enum Summary Error Summary Annotation Types Summary Class Description AbstractArrayMemoryIO AbstractArrayMemoryIO.ArrayIO AbstractAsmLibraryInterface AbstractBufferMemoryIO AbstractDataConverter<J,N> AbstractFromNativeType AbstractMemoryIO Base implementations of some MemoryIO operations.AbstractNumberReference<T extends java.lang.Number> An abstract class for common PrimitiveReference functionalityAbstractReference<T> An abstract class for common PrimitiveReference functionalityAbstractRuntime AbstractSignatureTypeMapper AbstractToNativeType Address TheAddress
class wraps a native address in an object.AddressByReference AddressByReference is used when the address of a primitive pointer value must be passed as a parameter to a function.AnnotationProxy<A extends java.lang.annotation.Annotation> Annotations Utilities for collections of annotationsAnnotationTypeMapper ArrayMemoryIO AsmLibraryLoader AsmRuntime Utility methods that are used at runtime by generated code.AsmStructByReferenceFromNativeConverter BadType blkcnt_t blksize_t BoundedMemoryIO BoxedBooleanArrayParameterConverter Converts a Boolean[] array to a primitive boolean[] array parameterBoxedBooleanArrayParameterConverter.Out BoxedByteArrayParameterConverter Converts a Byte[] array to a byte[] array parameterBoxedByteArrayParameterConverter.Out BoxedDoubleArrayParameterConverter Converts a Double[] array to a double[] array parameterBoxedDoubleArrayParameterConverter.Out BoxedFloatArrayParameterConverter Converts a Float[] array to a float[] array parameterBoxedFloatArrayParameterConverter.Out BoxedIntegerArrayParameterConverter Converts a Integer[] array to a primitive int[] array parameterBoxedIntegerArrayParameterConverter.Out BoxedLong32ArrayParameterConverter Converts a Long[] array to a primitive int[] array parameterBoxedLong32ArrayParameterConverter.Out BoxedLong64ArrayParameterConverter Converts a Long[] array to a primitive 64bit long[] array parameterBoxedLong64ArrayParameterConverter.Out BoxedShortArrayParameterConverter Converts a Short[] array to a primitive short[] array parameterBoxedShortArrayParameterConverter.Out BufferParameterStrategy BufferUtil ByReference<T> A ByReference subclass is used when a primitive parameter must be passed by-reference.ByReferenceParameterConverter ByReferenceParameterConverter.Out ByteBufferMemoryIO ByteByReference ByteByReference is used when the address of a primitive byte value must be passed as a parameter to a function.CachingTypeMapper Caches native converter lookups by class.caddr_t CallingConvention Native function calling conventions.CharSequenceArrayParameterConverter Converts a CharSequence[] array to a Pointer parameterCharSequenceArrayParameterConverter.Out CharSequenceParameterConverter Converts a CharSequence (e.g.Clear Indicates that the temporary native memory allocated for an@Out
paramneter should be cleared before passing to the native function.clock_t ClosureFromNativeConverter ClosureFromNativeConverter.AbstractClosurePointer ClosureFromNativeConverter.ProxyConverter ClosureManager CodegenUtils CompositeFunctionMapper CompositeTypeMapper DataConverter<J,N> DefaultObjectReferenceManager DefaultSignatureType DefaultTypeMapper Delegate DelegatingMemoryIO dev_t Direct Indicates that aStruct
} parameter should be backed by a persistent native memory block.DoubleByReference Encoding Used to specify theCharset
to use for encoding/decoding aString
EnumConverter EnumMapper Provides mapping from Enum values to native integers and vice-versaEnumMapper.IntegerEnum EnumSetConverter FastLongMethodGenerator FFIProvider This class defines the facilities a JNR FFI provider must provide.FinalizablePhantomReference<T> Phantom reference with afinalizeReferent()
method which a background thread invokes after the garbage collector reclaims the referent.FinalizableReference Implemented by references that have code to run after garbage collection of their referents.FinalizableReferenceQueue A reference queue with an associated background thread that dequeues references and invokesFinalizableReference.finalizeReferent()
on them.FinalizableSoftReference<T> Soft reference with afinalizeReferent()
method which a background thread invokes after the garbage collector reclaims the referent.FinalizableWeakReference<T> Weak reference with afinalizeReferent()
method which a background thread invokes after the garbage collector reclaims the referent.Finalizer Thread that finalizes referents.FloatByReference FromNativeContext Context for conversion from native to Java.FromNativeConverter<J,N> Converts data from a native type to a java typeFromNativeConverter.Cacheable FromNativeConverter.FromNative FromNativeConverter.NoContext FromNativeType FromNativeType FromNativeType.Cacheable FromNativeTypes fsblkcnt_t fsfilcnt_t FunctionMapper FunctionMapper.Builder FunctionMapper.Context gid_t id_t IdentityFunctionMapper An implementation ofFunctionMapper
that just returns the same name as inputIgnoreError Indicates that the errno value for a native function need not be saved after the function returns.In Indicates that the parameter is an IN parameter.in_addr_t in_port_t InAccessibleMemoryIO ino_t ino64_t int16_t int32_t int64_t int8_t IntByReference IntByReference is used when the address of a primitive int must be passed as a parameter to a function.InterfaceScanner IntPointer intptr_t InvocationSession Holds information for each invocation of a native functionInvocationSession.PostInvoke Invoker Interface for any invocable functionJNIInvokeInterface Indexes of JavaVM methodsJNINativeInterface WARNING: Highly experimental!!! This class contains constants that are the indexes withing the JNINativeInterface_ struct of each of the JNIEnv functions.key_t LastError Provides access to the unix errno and windows GetLastError() value.Library Deprecated. UseLibraryLoader
instead.LibraryLoader<T> Loads a native library and maps it to a java interface.LibraryLoader LibraryOption Options that apply to a libraryLoadedLibrary All loaded libraries must implement this interfaceLong32ArrayParameterConverter Converts a long[] array to a primitive int[] array parameterLong32ArrayParameterConverter.Out LongLong Indicates that a long parameter should be treated as native long-long (64bit) instead of the platform-dependent long size.LongLongByReference LongLongByReference is used when the address of a native long long value must be passed as a parameter to a function.Memory A utility for allocating memory that can be passed to native functions.MemoryManager Manages access to various types of java and native memory.MemoryUtil Meta MethodGenerator MethodParameterContext Holds context for a method parameter from Java to native conversion.MethodResultContext mode_t NativeClosureFactory<T> NativeClosureProxy NativeFunction NativeFunctionMapperContext NativeInvocationHandler InvocationHandler used to map invocations on a java interface to the correct native function.NativeLibrary NativeLibrary.LoadedLibraryData Data class containing information about a loaded native library.NativeLong Represents a C long.NativeLong32ArrayParameterConverter Converts a NativeLong[] array to a primitive int[] array parameterNativeLong32ArrayParameterConverter.Out NativeLong64ArrayParameterConverter Converts a NativeLong[] array to a primitive long[] array parameterNativeLong64ArrayParameterConverter.Out NativeLongByReference NativeLongByReference is used when the address of a primitive C long must be passed as a parameter to a function.NativeLongConverter Parameter and return type support for the old NativeLong typeNativeMemoryManager NativeRuntime NativeType NativeType defines the primitive types supported internally.NativeVariable nlink_t NoTrace Turns off debug tracingNoX86 NullMemoryIO NullObjectParameterStrategy NullTypeMapper An instance ofTypeMapper
which always returns nullNulTerminate Indicates that a byte array or ByteBuffer should be terminated with a zero byte before passing it to a native function.NumberByReference NumberByReference is used when the address of a primitive integral value must be passed as a parameter to a function, but the exact type is system dependent.NumberUtil ObjectReferenceManager<T> Provides a mapping between java objects and unique native addresses.off_t Out Indicates that the parameter is an OUT parameter.ParameterFlags ParameterStrategy ParameterType pid_t Pinned Marks a method parameter as being pinnable.Platform Platform.CPU The supported CPU architectures.Platform.OS The common names of supported operating systems.Pointer A native memory address.Pointer32ArrayParameterConverter Converts a Pointer[] array to a int[] array parameterPointer32ArrayParameterConverter.Out Pointer64ArrayParameterConverter Converts a Pointer[] array to a long[] array parameterPointer64ArrayParameterConverter.Out PointerByReference AddressByReference is used when the address of a pointer must be passed as a parameter to a function.PointerParameterStrategy PrimitiveArrayParameterStrategy Provider ResultType rlim_t Runtime Access JNR runtime functionality.sa_family_t SaveError Tags a library method as requiring any error codes as returned by errno on unix, or GetLastError on windows be saved.ShareMemoryIO ShortByReference ShortByReference is used when the address of a primitive short value must be passed as a parameter to a function.SignatureType SignatureTypeMapper SignatureTypeMapperAdapter Adapts aTypeMapper
to a SignatureTypeMapperSigType SimpleNativeContext size_t SkinnyMethodAdapter socklen_t ssize_t StdCall StringBufferParameterConverter StringBuilderParameterConverter StringResultConverter Converts a native pointer result into a java StringStruct Representation of C structures in java.Struct.Alignment Struct.Offset StructArrayParameterConverter Converts a Pointer[] array to a long[] array parameterStructArrayParameterConverter.Out StructByReferenceFromNativeConverter Converts a native pointer result into aStruct
StructByReferenceToNativeConverter StructLayout StructLayout.Offset swblk_t SymbolNotFoundError Synchronized Indicates that a library or a library method requires all calls to be synchronized.time_t ToNativeContext ToNativeConverter<J,N> ToNativeConverter.Cacheable ToNativeConverter.NoContext ToNativeConverter.PostInvocation<J,N> Used to reload a parameter converted to a native type via a customToNativeConverter
ToNativeConverter.ToNative ToNativeType ToNativeType ToNativeType.Cacheable ToNativeTypes Transient Indicates that the parameter is transient.TransientNativeMemory Type Type is the superclass for all internal types used by jnr-ffi.TypeAlias TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeAliases TypeDefinition This is used internally by jnr-ffi to define type aliases, e.g.TypeMapper TypeMapper.Builder u_int16_t u_int32_t u_int64_t u_int8_t uid_t uintptr_t Union Represents a C unionVariable<T> Access library global variables.VariableAccessorGenerator Generate global variable accessors