InProcess

interface InProcess : NodeHandle

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
abstract val jmxAddress: <Error class: unknown class>?

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

Link copied to clipboard
abstract val nodeInfo: <Error class: unknown class>

Get the NodeInfo for this node

Link copied to clipboard
abstract val p2pAddress: <Error class: unknown class>

Get the p2p address for this node

Link copied to clipboard
abstract val rpc: <Error class: unknown class>

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
abstract val rpcAddress: <Error class: unknown class>

Get the rpc address for this node

Link copied to clipboard
abstract val rpcAdminAddress: <Error class: unknown class>

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: <Error class: unknown class>

Services which are available to this node

Functions

Link copied to clipboard
abstract fun close()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun <T> 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: <Error class: unknown class><T>): <Error class: unknown class><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>