net.corda.node.driver / DriverDSLExposedInterface

DriverDSLExposedInterface

interface DriverDSLExposedInterface

This is the interface thats exposed to DSL users.



Functions

startNode abstract fun startNode(providedName: String? = null, advertisedServices: Set<ServiceInfo> = emptySet(), rpcUsers: List<User> = emptyList(), customOverrides: Map<String, Any?> = emptyMap()): Future<NodeInfoAndConfig>

Starts a Node in a separate process.

startNotaryCluster abstract fun startNotaryCluster(notaryName: String, clusterSize: Int = 3, type: ServiceType = RaftValidatingNotaryService.type): Unit

Starts a distributed notary cluster.

waitForAllNodesToFinish abstract fun waitForAllNodesToFinish(): Unit

Inheritors

DriverDSLInternalInterface interface DriverDSLInternalInterface : DriverDSLExposedInterface