Class BoundTransportAddress
- java.lang.Object
-
- org.elasticsearch.common.transport.BoundTransportAddress
-
- All Implemented Interfaces:
Writeable
public class BoundTransportAddress extends Object implements Writeable
A bounded transport address is a tuple ofTransportAddress, 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransportAddress[]boundAddresses()TransportAddresspublishAddress()StringtoString()voidwriteTo(StreamOutput out)Write this into the StreamOutput.
-
-
-
Constructor Detail
-
BoundTransportAddress
public BoundTransportAddress(StreamInput in) throws IOException
- Throws:
IOException
-
BoundTransportAddress
public BoundTransportAddress(TransportAddress[] boundAddresses, TransportAddress publishAddress)
-
-
Method Detail
-
boundAddresses
public TransportAddress[] boundAddresses()
-
publishAddress
public TransportAddress publishAddress()
-
writeTo
public void writeTo(StreamOutput out) throws IOException
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
-