RPCDriver DSL
Properties
Returns the NotaryHandle for the single notary on the network. Throws if there are none or more than one.
Returns the identity of the single notary on the network. Throws if there are none or more than one.
Returns a CordaFuture on the NodeHandle for the single-node notary on the network. Throws if there are no notaries or more than one, or if the notary is a distributed cluster.
Returns a list of NotaryHandles matching the list of NotarySpecs passed into driver.
Functions
Returns the base directory for a node with the given CordaX500Name. This method is useful if the base directory is needed before the node is started.
Polls a function until it returns a non-null value. Note that there is no timeout on the polling.
Starts a Netty Artemis session connecting to an RPC server.
Starts an In-VM Artemis session connecting to the RPC server.
Starts an In-VM RPC client.
Starts an In-VM RPC server. Note that only a single one may be started.
Start a node using the default values of NodeParameters.
Start a node using the parameter values of the given NodeParameters.
Start a node.
Starts a Netty RPC client in a new JVM process that calls random RPCs with random arguments.
Starts a Netty RPC client.
Starts a Netty RPC server.
Call startWebserver with a default maximumHeapSize.
Starts a web server for a node