Writeable
, ToXContent
, ToXContentFragment
public class TransportInfo extends java.lang.Object implements Writeable, ToXContentFragment
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Writeable.Reader<V>, Writeable.Writer<V>
EMPTY_PARAMS
Constructor | Description |
---|---|
TransportInfo(StreamInput in) |
|
TransportInfo(BoundTransportAddress address,
java.util.Map<java.lang.String,BoundTransportAddress> profileAddresses) |
Modifier and Type | Method | Description |
---|---|---|
BoundTransportAddress |
address() |
|
BoundTransportAddress |
getAddress() |
|
java.util.Map<java.lang.String,BoundTransportAddress> |
getProfileAddresses() |
|
java.util.Map<java.lang.String,BoundTransportAddress> |
profileAddresses() |
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
|
void |
writeTo(StreamOutput out) |
Write this into the StreamOutput.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isFragment
public TransportInfo(BoundTransportAddress address, @Nullable java.util.Map<java.lang.String,BoundTransportAddress> profileAddresses)
public TransportInfo(StreamInput in) throws java.io.IOException
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException
public BoundTransportAddress address()
public BoundTransportAddress getAddress()
public java.util.Map<java.lang.String,BoundTransportAddress> getProfileAddresses()
public java.util.Map<java.lang.String,BoundTransportAddress> profileAddresses()