org.elasticsearch.transport
Class TransportInfo
java.lang.Object
org.elasticsearch.transport.TransportInfo
- All Implemented Interfaces:
- Serializable, Streamable, ToXContent
public class TransportInfo
- extends Object
- implements Streamable, Serializable, ToXContent
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportInfo
public TransportInfo(BoundTransportAddress address)
toXContent
public XContentBuilder toXContent(XContentBuilder builder,
ToXContent.Params params)
throws IOException
- Specified by:
toXContent
in interface ToXContent
- Throws:
IOException
readTransportInfo
public static TransportInfo readTransportInfo(StreamInput in)
throws IOException
- Throws:
IOException
readFrom
public void readFrom(StreamInput in)
throws IOException
- Specified by:
readFrom
in interface Streamable
- Throws:
IOException
writeTo
public void writeTo(StreamOutput out)
throws IOException
- Specified by:
writeTo
in interface Streamable
- Throws:
IOException
address
public BoundTransportAddress address()
getAddress
public BoundTransportAddress getAddress()
Copyright © 2009-2012. All Rights Reserved.