public final class SiraPriseServer
extends java.lang.Object
implements java.io.Externalizable
| Constructor and Description |
|---|
SiraPriseServer()
Deprecated.
Constructor for the Serializable/Externalizable machinery. Don't use in other contexts, as you don't have any setters to use.
|
SiraPriseServer(java.lang.String server,
int port,
int monitorPort)
Creates the SiraPriseServer identifier object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.net.InetAddress |
getInetAddress()
Gets The InetAddress object for the indicated host
|
int |
getMonitorport()
Gets The monitor port number identifying the server to which can be connected for issuing monitor commands
|
int |
getPort()
Gets The port number identifying the server to which can be connected for issuing 'regular' DML commands
|
java.lang.String |
getServer()
Gets The DNS name or IP address of the server to which can be connected
|
int |
hashCode() |
void |
readExternal(java.io.ObjectInput in) |
java.lang.String |
toString() |
void |
writeExternal(java.io.ObjectOutput out) |
@Deprecated public SiraPriseServer()
public SiraPriseServer(java.lang.String server,
int port,
int monitorPort)
server - The DNS name or IP address of the server to which can be connectedport - The port number identifying the server to which can be connectedmonitorPort - The port number identifying the server to which can be connected for monitor commandspublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic final java.net.InetAddress getInetAddress()
throws java.net.UnknownHostException
java.net.UnknownHostException - If no IP address could be obtained for the given host identificationpublic int getMonitorport()
public int getPort()
public java.lang.String getServer()
public int hashCode()
hashCode in class java.lang.Objectpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException
readExternal in interface java.io.Externalizablejava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException