org.elasticsearch.common.transport
Class LocalTransportAddress
java.lang.Object
org.elasticsearch.common.transport.LocalTransportAddress
- All Implemented Interfaces:
- Serializable, Streamable, TransportAddress
public class LocalTransportAddress
- extends Object
- implements TransportAddress
- See Also:
- Serialized Form
LocalTransportAddress
public LocalTransportAddress(String id)
id
public String id()
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 other)
- 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
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2012. All Rights Reserved.