net.corda.node.driver / DriverDSL

# DriverDSL

`open class DriverDSL : DriverDSLInternalInterface`

### Types

State | `class State`

### Constructors

<init> | `DriverDSL(portAllocation: PortAllocation, debugPortAllocation: PortAllocation, driverDirectory: Path, useTestClock: Boolean, isDebug: Boolean)`

### Properties

debugPortAllocation | `val debugPortAllocation: PortAllocation`
driverDirectory | `val driverDirectory: Path`
isDebug | `val isDebug: Boolean`
portAllocation | `val portAllocation: PortAllocation`
useTestClock | `val useTestClock: Boolean`

### Functions

registerProcess | `fun registerProcess(process: Process): Unit`
shutdown | `open fun shutdown(): Unit`
start | `open fun start(): Unit`
startNode | `open fun startNode(providedName: String?, advertisedServices: Set<ServiceInfo>, rpcUsers: List<User>): Future<NodeInfoAndConfig>` Starts a Node in a separate process.
waitForAllNodesToFinish | `open fun waitForAllNodesToFinish(): Unit`

### Companion Object Properties

name | `val name: Array<String>`

### Companion Object Functions

pickA | `fun <A> pickA(array: Array<A>): A`