Package ej.sni
Contains Simple Native Interface classes.
-
Class Summary Class Description NativeResource ANativeResourceis an object representing a runtime element managed by the native side (such as a file, a socket, an image, ...).PoolOfImmortalByteBuffers A pool of reusable immortal byte buffers.PoolOfLimitedReusableResources A pool of resources where resources are allocated at creation time (no lazy allocation).PoolOfReusableResources A pool of reusable resources.SNI This utility class provides methods to convert between Java & C strings. -
Exception Summary Exception Description NativeException RuntimeExceptionsubclass that may be thrown from an SNI native usingSNI_throwNativeException()function.NativeIOException IOExceptionsubclass that may be thrown from an SNI native usingSNI_throwNativeIOException()function.