JsonRpcCaller

class JsonRpcCaller(val stringLineReaderWriter: StringLineReaderWriter, val callQueue: MutableList<RequestWithReturnType> = mutableListOf()) : BatchCallable, Closeable

Constructors

Link copied to clipboard
fun JsonRpcCaller(stringLineReaderWriter: StringLineReaderWriter, callQueue: MutableList<RequestWithReturnType> = mutableListOf())

Functions

Link copied to clipboard
fun call(request: KotlinJsonRpcRequest, returnType: KType): Any?
Link copied to clipboard
fun callDirectly(request: KotlinJsonRpcRequest, returnType: KType): Any?
Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun <T> execute(block: () -> T): T

Properties

Link copied to clipboard
val callQueue: MutableList<RequestWithReturnType>
Link copied to clipboard
val stringLineReaderWriter: StringLineReaderWriter