interface InProcess : NodeHandle
Interface which represents an in process node and exposes available services.
abstract val services: <ERROR CLASS>
Services which are available to this node |
abstract val baseDirectory: Path
The location of the node's base directory |
|
abstract val jmxAddress: <ERROR CLASS>?
Get the JMX server address for this node, if JMX is enabled |
|
abstract val nodeInfo: <ERROR CLASS>
Get the NodeInfo for this node |
|
abstract val p2pAddress: <ERROR CLASS>
Get the p2p address for this node |
|
abstract val rpc: <ERROR 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. |
|
abstract val rpcAddress: <ERROR CLASS>
Get the rpc address for this node |
|
abstract val rpcAdminAddress: <ERROR CLASS>
Get the rpc admin address for this node |
|
abstract val rpcUsers: List<User>
|
abstract fun <T> registerInitiatedFlow(initiatedFlowClass: Class<T>): <ERROR CLASS><T>
Register a flow that is initiated by another flow |
|
open fun <T> startFlow(logic: <ERROR CLASS><T>): <ERROR CLASS><T>
Starts an already constructed flow. Note that you must be on the server thread to call this method. |
abstract fun stop(): Unit
Stops the referenced node. |
fun NodeHandle.logFile(): File |