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
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–2015. All rights reserved.