Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class JniConnection(scope: CoroutineScope, env: KsrpcEnvironment<JniSerialized>, nativeEnvironment: Long) : PacketChannelBase<JniSerialized>
Link copied to clipboard
Link copied to clipboard
object JNIControl
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class NativeConnection(scope: CoroutineScope, objectRef: jobject, env: KsrpcEnvironment<JniSerialized>) : PacketChannelBase<JniSerialized>
Link copied to clipboard
class NativeJniContinuation<T>(continuation: Continuation<T>, typeConverter: Converter<jobject?, T>)
Link copied to clipboard
class NativeJniContinuationConverter<T>(env: CPointer<JNIEnvVar>) : Converter<jobject?, NativeJniContinuation<T>>
Link copied to clipboard
Link copied to clipboard
object NativeScopeHandler
Link copied to clipboard
Link copied to clipboard
object NativeUtils
A simple library class which helps with loading dynamic libraries stored in the JAR archive. These libraries usually contain implementation of some methods in native code (using JNI - Java Native Interface).
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun JniSerialized.Companion.fromJvm(jniEnv: CPointer<JNIEnvVar>, serialized: jobject): JniSerialized
Link copied to clipboard
fun jniConnectionClose(env: CPointer<JNIEnvVar>, clazz: jobject, nativeObject: jlong, continuation: jobject)
Link copied to clipboard
fun jniConnectionFinalize(env: CPointer<JNIEnvVar>, clazz: jobject, nativeObject: jlong, nativeEnvironment: jlong)
Link copied to clipboard
fun jniConnectionSendSerialized(env: CPointer<JNIEnvVar>, clazz: jobject, nativeObject: jlong, packet: jobject, continuation: jobject)
Link copied to clipboard
fun jniCreateConnection(env: CPointer<JNIEnvVar>, clazz: jobject, scope: jlong, ksrpcEnv: jlong): jlong
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard