public class BoundTransportAddress extends java.lang.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)
Set this object's fields from a StreamInput.
|
java.lang.String |
toString() |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
public BoundTransportAddress(TransportAddress[] boundAddresses, TransportAddress publishAddress)
public TransportAddress[] boundAddresses()
public TransportAddress publishAddress()
public static BoundTransportAddress readBoundTransportAddress(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface Streamablejava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface Streamablejava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object