public class BoundTransportAddress extends Object implements Streamable
TransportAddress, one that represents
the address the transport is bounded on, the the published one represents the one clients should
communicate on.| Constructor and Description |
|---|
BoundTransportAddress(TransportAddress boundAddress,
TransportAddress publishAddress) |
| Modifier and Type | Method and Description |
|---|---|
TransportAddress |
boundAddress() |
TransportAddress |
publishAddress() |
static BoundTransportAddress |
readBoundTransportAddress(StreamInput in) |
void |
readFrom(StreamInput in) |
String |
toString() |
void |
writeTo(StreamOutput out) |
public BoundTransportAddress(TransportAddress boundAddress, TransportAddress publishAddress)
public TransportAddress boundAddress()
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–2016. All rights reserved.