Streamable
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 | Description |
---|---|
BoundTransportAddress(TransportAddress[] boundAddresses,
TransportAddress publishAddress) |
Modifier and Type | Method | 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public BoundTransportAddress(TransportAddress[] boundAddresses, TransportAddress publishAddress)
public TransportAddress[] boundAddresses()
public TransportAddress publishAddress()
public static BoundTransportAddress readBoundTransportAddress(StreamInput in) throws java.io.IOException
java.io.IOException
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object