public class ServerMetaData
extends java.lang.Object
implements java.io.Externalizable
Constructor and Description |
---|
ServerMetaData() |
ServerMetaData(java.net.URI... locations) |
Modifier and Type | Method and Description |
---|---|
int |
buildHash() |
boolean |
equals(java.lang.Object o) |
java.net.URI |
getLocation() |
java.net.URI[] |
getLocations() |
int |
hashCode() |
void |
merge(ServerMetaData toMerge) |
void |
readExternal(java.io.ObjectInput in) |
void |
setMetaData(ProtocolMetaData metaData) |
java.lang.String |
toString() |
void |
writeExternal(java.io.ObjectOutput out) |
public ServerMetaData()
public ServerMetaData(java.net.URI... locations)
public void setMetaData(ProtocolMetaData metaData)
public void merge(ServerMetaData toMerge)
public java.net.URI getLocation()
public java.net.URI[] getLocations()
public int buildHash()
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object