corda / net.corda.testing.driver / InProcess

InProcess

@DoNotImplement interface InProcess : NodeHandle

Interface which represents an in process node and exposes available services.

Properties

services

Services which are available to this node

abstract val services: ServiceHub

Functions

registerInitiatedFlow

Register a flow that is initiated by another flow

abstract fun <T : FlowLogic<*>> registerInitiatedFlow(initiatedFlowClass: Class<T>): Observable<T>

startFlow

Starts an already constructed flow. Note that you must be on the server thread to call this method.

open fun <T> startFlow(logic: FlowLogic<T>): CordaFuture<T>

Extension Functions

logFile

fun NodeHandle.logFile(): File