org.elasticsearch.common.transport
Class TransportAddressSerializers
java.lang.Object
org.elasticsearch.common.transport.TransportAddressSerializers
public abstract class TransportAddressSerializers
- extends java.lang.Object
A global registry of all different types of TransportAddress
allowing
to perform serialization of them.
By default, adds InetSocketTransportAddress
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportAddressSerializers
public TransportAddressSerializers()
addAddressType
public static void addAddressType(TransportAddress address)
throws java.lang.Exception
- Throws:
java.lang.Exception
addressFromStream
public static TransportAddress addressFromStream(StreamInput input)
throws java.io.IOException
- Throws:
java.io.IOException
addressToStream
public static void addressToStream(StreamOutput out,
TransportAddress address)
throws java.io.IOException
- Throws:
java.io.IOException