Class BoundTransportAddress
java.lang.Object
org.elasticsearch.common.transport.BoundTransportAddress
- All Implemented Interfaces:
Writeable
public class BoundTransportAddress extends java.lang.Object implements Writeable
A bounded transport address is a tuple of
TransportAddress, one array that represents
the addresses the transport is bound to, and the other is the published one that represents the address clients
should communicate on.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Constructor Summary
Constructors Constructor Description BoundTransportAddress(StreamInput in)BoundTransportAddress(TransportAddress[] boundAddresses, TransportAddress publishAddress) -
Method Summary
Modifier and Type Method Description TransportAddress[]boundAddresses()TransportAddresspublishAddress()java.lang.StringtoString()voidwriteTo(StreamOutput out)Write this into the StreamOutput.
-
Constructor Details
-
BoundTransportAddress
- Throws:
java.io.IOException
-
BoundTransportAddress
-
-
Method Details
-
boundAddresses
-
publishAddress
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput. -
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-