InProcess

Interface which represents an in process node and exposes available services.

Inheritors

Properties

Link copied to clipboard
abstract val baseDirectory: Path

The location of the node's base directory

Link copied to clipboard
val InProcess.internalServices: <Error class: unknown class>
Link copied to clipboard

Get the JMX server address for this node, if JMX is enabled

Link copied to clipboard
abstract val nodeInfo: NodeInfo

Get the NodeInfo for this node

Link copied to clipboard

Get the p2p address for this node

Link copied to clipboard
abstract val rpc: CordaRPCOps

Interface to the node's RPC system. The first RPC user will be used to login if are any, otherwise a default one will be added and that will be used.

Link copied to clipboard

Get the rpc address for this node

Link copied to clipboard

Get the rpc admin address for this node

Link copied to clipboard
abstract val rpcUsers: List<User>

Get a List of User's for this node

Link copied to clipboard
abstract val services: ServiceHub

Services which are available to this node

Functions

Link copied to clipboard
abstract fun close()
Link copied to clipboard
Link copied to clipboard
abstract fun <T : FlowLogic<*>> registerInitiatedFlow(initiatedFlowClass: Class<T>): <Error class: unknown class><T>

Register a flow that is initiated by another flow

Link copied to clipboard
open fun <T> startFlow(logic: FlowLogic<T>): CordaFuture<T>

Starts an already constructed flow. Note that you must be on the server thread to call this method.

Link copied to clipboard
abstract fun stop()

Stops the referenced node.

Link copied to clipboard
fun NodeHandle.waitForShutdown(): <Error class: unknown class><Unit>