com.r3corda.node.driver

## Package com.r3corda.node.driver

### Types

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

### Functions

addressMustBeBound | `fun addressMustBeBound(hostAndPort: <ERROR CLASS>): Unit`
addressMustNotBeBound | `fun addressMustNotBeBound(hostAndPort: <ERROR CLASS>): Unit`
driver | `fun <A> driver(baseDirectory: String = "build/${getTimestampAsDirectoryName()}", portAllocation: PortAllocation = PortAllocation.Incremental(10000), debugPortAllocation: PortAllocation = PortAllocation.Incremental(5005), 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`
startClient | `fun DriverDSLExposedInterface.startClient(localServer: ArtemisMessagingServer): Future<NodeMessagingClient>` `fun DriverDSLExposedInterface.startClient(remoteNodeInfo: NodeInfo, providedName: String? = null): Future<NodeMessagingClient>`
writeConfig | `fun writeConfig(path: Path, filename: String, config: <ERROR CLASS>): Unit`