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