@DoNotImplement interface NodeHandle : AutoCloseable
A base interface which represents a node as part of the driver dsl, extended by InProcess and OutOfProcess
abstract val baseDirectory: Path
The location of the node's base directory |
|
abstract val jmxAddress: NetworkHostAndPort?
Get the JMX server address for this node, if JMX is enabled |
|
abstract val nodeInfo: NodeInfo
Get the NodeInfo for this node |
|
abstract val p2pAddress: NetworkHostAndPort
Get the p2p address for this node |
|
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. |
|
abstract val rpcAddress: NetworkHostAndPort
Get the rpc address for this node |
|
abstract val rpcAdminAddress: NetworkHostAndPort
Get the rpc admin address for this node |
|
abstract val rpcUsers: List<User>
|
abstract fun stop(): Unit
Stops the referenced node. |
fun Any.contextLogger(): <ERROR CLASS>
When called from a companion object, returns the logger for the enclosing class. |
|
fun NodeHandle.logFile(): File |
interface InProcess : NodeHandle
Interface which represents an in process node and exposes available services. |
|
interface OutOfProcess : NodeHandle
Interface which represents an out of process node and exposes its process handle. |