public class AuroraServer extends java.lang.Object implements java.lang.Comparable<AuroraServer>
| Constructor and Description |
|---|
AuroraServer(java.lang.String host,
int port,
java.util.Properties info)
Construct a new
AuroraServer with the host and port broken into individual components. |
AuroraServer(java.lang.String server,
java.util.Properties info)
Construct a new
AuroraServer for a given host:post string. |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(AuroraServer as) |
boolean |
equals(java.lang.Object o) |
java.util.Properties |
getProperties()
Return the properties for the connection.
|
int |
hashCode() |
java.lang.String |
hostAndPortString()
Produce a
host:port representation of the host to be connected to. |
java.lang.String |
toString() |
public AuroraServer(java.lang.String server,
java.util.Properties info)
AuroraServer for a given host:post string.server - Host and port within a single stringinfo - Properties for the connectionpublic AuroraServer(java.lang.String host,
int port,
java.util.Properties info)
AuroraServer with the host and port broken into individual components.host - Server host / dnsport - Port to connect toinfo - Properties for the connectionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(AuroraServer as)
compareTo in interface java.lang.Comparable<AuroraServer>public java.lang.String hostAndPortString()
host:port representation of the host to be connected to.public java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Properties getProperties()