startInVmRpcServer

fun <I> startInVmRpcServer(rpcUser: User = rpcTestUser, nodeLegalName: <Error class: unknown class> = fakeNodeLegalName, maxFileSize: Int = MAX_MESSAGE_SIZE, maxBufferedBytesPerClient: Long = 10L * MAX_MESSAGE_SIZE, configuration: <Error class: unknown class> = RPCServerConfiguration.DEFAULT, ops: I, queueDrainTimeout: Duration = 5.seconds): <Error class: unknown class><RpcServerHandle<I>>

Starts an In-VM RPC server. Note that only a single one may be started.

Parameters

rpcUser

The single user who can access the server through RPC, and their permissions.

nodeLegalName

The legal name of the node to check against to authenticate a superuser.

configuration

The RPC server configuration.

ops

The server-side implementation of the RPC interface.