NodeContext 类

定义

Class to encapsulate a node context.

public class NodeContext
继承
java.lang.Object
NodeContext

构造函数

NodeContext(String nodeName, NodeId nodeId, BigInteger nodeInstanceId, String nodeType, String ipAddressOrFQDN)

Initializes a new instance of the system.fabric.NodeContext class.

方法

getIpAddressOrFQDN()

Gets the IP address or the fully qualified domain name of the node.

getNodeId()

Gets the node ID.

getNodeInstanceId()

Gets the node instance ID.

getNodeName()

Gets the node name.

getNodeType()

Gets the node type.

toString()

Prints nodeName, nodeId, nodeInstanceId, nodeType, ipAddressOrFQDN.

适用于