public class NodeInfo
extends java.lang.Object
Constructor and Description |
---|
NodeInfo()
Empty constructor.
|
NodeInfo(NodeInfo nodeInfo)
Constructor converting an internal noneInfo to XML/JSON version.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConnectString() |
NodeNetwork |
getNetwork() |
java.lang.String |
getNodeAddress() |
java.lang.Integer |
getNodePort() |
java.lang.String |
getPublicKeyInfo() |
void |
setConnectString(java.lang.String connectString) |
void |
setNetwork(NodeNetwork network) |
void |
setNodeAddress(java.lang.String nodeAddress) |
void |
setNodePort(java.lang.Integer nodePort) |
void |
setPublicKeyInfo(java.lang.String publicKeyInfo) |
java.lang.String |
toString() |
public NodeInfo()
public NodeInfo(NodeInfo nodeInfo)
nodeInfo
- the nodeInfo to convert.public java.lang.String getPublicKeyInfo()
public void setPublicKeyInfo(java.lang.String publicKeyInfo)
publicKeyInfo
- the node's publicKeyInfopublic java.lang.String getNodeAddress()
public void setNodeAddress(java.lang.String nodeAddress)
nodeAddress
- the node's addresspublic java.lang.Integer getNodePort()
public void setNodePort(java.lang.Integer nodePort)
nodePort
- the node's portpublic NodeNetwork getNetwork()
public void setNetwork(NodeNetwork network)
network
- the network node is following.public java.lang.String getConnectString()
public void setConnectString(java.lang.String connectString)
connectString
- the complete connect string to the lightning node.public java.lang.String toString()
toString
in class java.lang.Object