public interface TransportAddress extends Writeable
Writeable.Reader<V>, Writeable.Writer<V>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAddress()
Returns the address string for this transport address
|
java.lang.String |
getHost()
Returns the host string for this transport address
|
int |
getPort()
Returns the port of this transport address if applicable
|
boolean |
isLoopbackAddress() |
boolean |
sameHost(TransportAddress other) |
java.lang.String |
toString() |
short |
uniqueAddressTypeId() |
java.lang.String getHost()
java.lang.String getAddress()
int getPort()
short uniqueAddressTypeId()
boolean sameHost(TransportAddress other)
boolean isLoopbackAddress()
java.lang.String toString()
toString
in class java.lang.Object