corda / net.corda.core.context / InvocationContext / rpc

rpc

@JvmStatic @JvmOverloads fun rpc(actor: Actor, trace: Trace = Trace.newInstance(), externalTrace: Trace? = null, impersonatedActor: Actor? = null, arguments: List<Any?> = emptyList()): InvocationContext

Creates an InvocationContext with InvocationOrigin.RPC origin.