public class TransportInfo extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
TransportInfo(BoundTransportAddress address,
Map<String,BoundTransportAddress> profileAddresses) |
| Modifier and Type | Method and Description |
|---|---|
BoundTransportAddress |
address() |
BoundTransportAddress |
getAddress() |
Map<String,BoundTransportAddress> |
getProfileAddresses() |
Map<String,BoundTransportAddress> |
profileAddresses() |
void |
readFrom(StreamInput in) |
static TransportInfo |
readTransportInfo(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public TransportInfo(BoundTransportAddress address, @Nullable Map<String,BoundTransportAddress> profileAddresses)
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionpublic static TransportInfo readTransportInfo(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionpublic BoundTransportAddress address()
public BoundTransportAddress getAddress()
public Map<String,BoundTransportAddress> getProfileAddresses()
public Map<String,BoundTransportAddress> profileAddresses()
Copyright © 2009–2017. All rights reserved.