public class Address
extends java.lang.Object
IOMode of connection to this node and unique NodeID among cluster, which
can also represent uniquelly this node.
The well known and most commonly used implementor of this class is InetAddress.| Constructor and Description |
|---|
Address(java.lang.String connectionString,
IOMode addressType,
java.lang.String nodeId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
IOMode |
getAddressType()
Type of the IO mode of connection, that will be open to node
at given Address.
|
java.lang.String |
getConnectionString()
Connection String, which allows current node to perform network
(or other transport) communications.
|
java.lang.String |
getNodeId()
Unique Node Identificator among cluster of Reveno nodes.
|
int |
hashCode() |
public Address(java.lang.String connectionString,
IOMode addressType,
java.lang.String nodeId)
public java.lang.String getConnectionString()
public IOMode getAddressType()
public java.lang.String getNodeId()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2015 Artem Dmitriev. All Rights Reserved.