org.elasticsearch.common.transport
Class DummyTransportAddress

java.lang.Object
  extended by org.elasticsearch.common.transport.DummyTransportAddress
All Implemented Interfaces:
Serializable, Streamable, TransportAddress

public class DummyTransportAddress
extends Object
implements TransportAddress

See Also:
Serialized Form

Field Summary
static DummyTransportAddress INSTANCE
           
 
Method Summary
 boolean match(String otherAddress)
           
 void readFrom(StreamInput in)
           
 boolean sameHost(TransportAddress otherAddress)
           
 short uniqueAddressTypeId()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final DummyTransportAddress INSTANCE
Method Detail

uniqueAddressTypeId

public short uniqueAddressTypeId()
Specified by:
uniqueAddressTypeId in interface TransportAddress

match

public boolean match(String otherAddress)
Specified by:
match in interface TransportAddress

sameHost

public boolean sameHost(TransportAddress otherAddress)
Specified by:
sameHost in interface TransportAddress

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


Copyright © 2009-2012. All Rights Reserved.