startRpcServer

fun <I> startRpcServer(serverName: String = "driver-rpc-server-", rpcUser: User = rpcTestUser, nodeLegalName: <Error class: unknown class> = fakeNodeLegalName, maxFileSize: Int = MAX_MESSAGE_SIZE, maxBufferedBytesPerClient: Long = 5L * MAX_MESSAGE_SIZE, configuration: <Error class: unknown class> = RPCServerConfiguration.DEFAULT, customPort: <Error class: unknown class>? = null, ops: I): <Error class: unknown class><RpcServerHandle<I>>


fun <I> startRpcServer(serverName: String = "driver-rpc-server-", rpcUser: User = rpcTestUser, nodeLegalName: <Error class: unknown class> = fakeNodeLegalName, maxFileSize: Int = MAX_MESSAGE_SIZE, maxBufferedBytesPerClient: Long = 5L * MAX_MESSAGE_SIZE, configuration: <Error class: unknown class> = RPCServerConfiguration.DEFAULT, customPort: <Error class: unknown class>? = null, listOps: List<I>): <Error class: unknown class><RpcServerHandle<I>>

Starts a Netty RPC server.

Parameters

serverName

The name of the server, to be used for the folder created for Artemis files.

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.

listOps

The server-side implementation of the RPC interfaces.