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
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionCopyright © 2009–2017. All rights reserved.