WrapInvoker

interface WrapInvoker

Inheritors

Functions

Link copied to clipboard
abstract fun getEnvByUri(uri: Uri): Result<WrapEnv?>

Returns an env (a set of environmental variables) from the configuration used to instantiate the client.

Link copied to clipboard
abstract fun getImplementations(uri: Uri): Result<List<Uri>>

Retrieves the list of implementation URIs for the specified interface URI.

Link copied to clipboard
abstract fun getInterfaces(): Map<Uri, List<Uri>>?

Returns the interface implementations stored in the configuration.

Link copied to clipboard
abstract fun invokeRaw(uri: <Error class: unknown class>, method: String, args: List<UByte>? = null, env: List<UByte>? = null, resolutionContext: <Error class: unknown class>? = null): List<UByte>

Invokes the wrapper at the specified URI with the provided options.

abstract fun invokeRaw(uri: Uri, method: String, args: ByteArray?, env: ByteArray? = null, resolutionContext: <Error class: unknown class>? = null): Result<ByteArray>

Invoke a wrapper. This method automatically retrieves and caches the wrapper.