public class BoundTransportAddress extends Object implements Streamable
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.Constructor and Description |
---|
BoundTransportAddress(TransportAddress[] boundAddresses,
TransportAddress publishAddress) |
Modifier and Type | Method and Description |
---|---|
TransportAddress[] |
boundAddresses() |
TransportAddress |
publishAddress() |
static BoundTransportAddress |
readBoundTransportAddress(StreamInput in) |
void |
readFrom(StreamInput in) |
String |
toString() |
void |
writeTo(StreamOutput out) |
public BoundTransportAddress(TransportAddress[] boundAddresses, TransportAddress publishAddress)
public TransportAddress[] boundAddresses()
public TransportAddress publishAddress()
public static BoundTransportAddress readBoundTransportAddress(StreamInput in) throws IOException
IOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
Copyright © 2009–2016. All rights reserved.