public NodeHandle
A base interface which represents a node as part of the Driver.driver
dsl, extended by interface InProcess
and interface OutOfProcess
Driver.driver
,
interface InProcess
,
interface OutOfProcess
Modifier and Type | Method and Description |
---|---|
java.nio.file.Path |
getBaseDirectory()
The location of the node's base directory
|
NetworkHostAndPort |
getJmxAddress()
Get the JMX server address for this node, if JMX is enabled
|
NodeInfo |
getNodeInfo()
Get the
class NodeInfo for this node |
NetworkHostAndPort |
getP2pAddress()
Get the p2p address for this node
|
CordaRPCOps |
getRpc()
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.
|
NetworkHostAndPort |
getRpcAddress()
Get the rpc address for this node
|
NetworkHostAndPort |
getRpcAdminAddress()
Get the rpc admin address for this node
|
java.util.List<net.corda.testing.node.User> |
getRpcUsers()
Get a List of
class User 's for this node |
void |
stop()
Stops the referenced node.
|
NodeInfo getNodeInfo()
Get the class NodeInfo
for this node
class NodeInfo
CordaRPCOps getRpc()
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.
NetworkHostAndPort getP2pAddress()
Get the p2p address for this node
NetworkHostAndPort getRpcAddress()
Get the rpc address for this node
NetworkHostAndPort getRpcAdminAddress()
Get the rpc admin address for this node
NetworkHostAndPort getJmxAddress()
Get the JMX server address for this node, if JMX is enabled
java.util.List<net.corda.testing.node.User> getRpcUsers()
Get a List of class User
's for this node
class User
java.nio.file.Path getBaseDirectory()
The location of the node's base directory
void stop()
Stops the referenced node.