InProcessImpl

data class InProcessImpl(val nodeInfo: NodeInfo, val rpc: CordaRPCOps, val configuration: <Error class: unknown class>, val webAddress: NetworkHostAndPort, val useHTTPS: Boolean, nodeThread: Thread, onStopCallback: () -> Unit, node: <Error class: unknown class>) : InProcess, NodeHandleInternal

Constructors

Link copied to clipboard
constructor(nodeInfo: NodeInfo, rpc: CordaRPCOps, configuration: <Error class: unknown class>, webAddress: NetworkHostAndPort, useHTTPS: Boolean, nodeThread: Thread, onStopCallback: () -> Unit, node: <Error class: unknown class>)

Properties

Link copied to clipboard
abstract val baseDirectory: Path

The location of the node's base directory

Link copied to clipboard
open override val configuration: <Error class: unknown class>
Link copied to clipboard
val database: <Error class: unknown class>
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
open override val nodeInfo: NodeInfo

Get the NodeInfo for this node

Link copied to clipboard

Get the p2p address for this node

Link copied to clipboard
open override 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
open override val rpcUsers: List<User>

Get a List of User's for this node

Link copied to clipboard
open override val services: <Error class: unknown class>

Services which are available to this node

Link copied to clipboard
open override val useHTTPS: Boolean
Link copied to clipboard
open override val webAddress: NetworkHostAndPort

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
Link copied to clipboard
open override 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
open override fun stop()

Stops the referenced node.

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