org.elasticsearch.common.transport
Class TransportAddressSerializers

java.lang.Object
  extended by 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.


Constructor Summary
TransportAddressSerializers()
           
 
Method Summary
static void addAddressType(TransportAddress address)
           
static TransportAddress addressFromStream(StreamInput input)
           
static void addressToStream(StreamOutput out, TransportAddress address)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransportAddressSerializers

public TransportAddressSerializers()
Method Detail

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