public class ConfHaNode extends Object
Constructor and Description |
---|
ConfHaNode(ConfValue nodeid,
ConfValue addr)
Constructor for a HA node
|
Modifier and Type | Method and Description |
---|---|
ConfValue |
getAddr()
Get the IP address for the node as ConfIPv4 or ConfIPv6
|
ConfValue |
getNodeId()
Get the nodeid which is the identity of the HA node
|
static ConfEObject |
pack_ha_node(ConfHaNode node)
Encodes a ConfHaNode into a ConfEObject to be transported by the
protocol.
|
String |
toString() |
static ConfHaNode |
unpack_ha_node(ConfEObject term)
Decodes a ConfEObject into a ConfHaNode.
|
public ConfValue getNodeId()
public ConfValue getAddr()
public static ConfHaNode unpack_ha_node(ConfEObject term) throws ConfException
term
- ConfException
public static ConfEObject pack_ha_node(ConfHaNode node)
node
-