com.r3corda.node.driver

## Package com.r3corda.node.driver

### Types

DriverDSL | `open class DriverDSL : DriverDSLInternalInterface`
DriverDSLExposedInterface | `interface DriverDSLExposedInterface` This is the interface thats exposed to DSL users.
DriverDSLInternalInterface | `interface DriverDSLInternalInterface : DriverDSLExposedInterface`
NodeInfoAndConfig | `data class NodeInfoAndConfig`
PortAllocation | `sealed class PortAllocation`

### Functions

addressMustBeBound | `fun addressMustBeBound(hostAndPort: <ERROR CLASS>): Unit`
addressMustNotBeBound | `fun addressMustNotBeBound(hostAndPort: <ERROR CLASS>): Unit`
driver | `fun <A> driver(driverDirectory: Path = Paths.get("build", getTimestampAsDirectoryName()), portAllocation: PortAllocation = PortAllocation.Incremental(10000), debugPortAllocation: PortAllocation = PortAllocation.Incremental(5005), useTestClock: Boolean = false, isDebug: Boolean = false, dsl: DriverDSLExposedInterface.() -> A): A` driver allows one to start up nodes like this: driver { val noService = startNode("NoService") val notary = startNode("Notary")
genericDriver | `fun <DI : DriverDSLExposedInterface, D : DriverDSLInternalInterface, A> genericDriver(driverDsl: D, coerce: (D) -> DI, dsl: DI.() -> A): A` This is a helper method to allow extending of the DSL, along the lines of interface SomeOtherExposedDSLInterface : DriverDSLExposedInterface interface SomeOtherInternalDSLInterface : DriverDSLInternalInterface, SomeOtherExposedDSLInterface class SomeOtherDSL(val driverDSL : DriverDSL) : DriverDSLInternalInterface by driverDSL, SomeOtherInternalDSLInterface
poll | `fun <A> poll(pollName: String, pollIntervalMs: Long = 500, warnCount: Int = 120, f: () -> A?): A`
writeConfig | `fun writeConfig(path: Path, filename: String, config: <ERROR CLASS>): Unit`