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<NodeHandle>

Starts a Node in a separate process.

startNotaryCluster abstract fun startNotaryCluster(notaryName: String, clusterSize: Int = 3, type: ServiceType = RaftValidatingNotaryService.type, rpcUsers: List<User> = emptyList()): Future<<ERROR CLASS><Party, List<NodeHandle>>>

Starts a distributed notary cluster.

waitForAllNodesToFinish abstract fun waitForAllNodesToFinish(): Unit

Extension Functions

runTest fun DriverDSLExposedInterface.runTest(): RunTestToken

Inheritors

DriverDSLInternalInterface interface DriverDSLInternalInterface : DriverDSLExposedInterface