net.cnri.dobj
Class DOServerInfo
java.lang.Object
net.cnri.dobj.DOServerInfo
public class DOServerInfo
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getServerID
public java.lang.String getServerID()
- Returns a string that differentiates this server from the others
in the same service. This ID only needs to be unique within the
service, and is used to identify servers for purposes such as
replication.
getServiceID
public java.lang.String getServiceID()
getService
public DOServiceInfo getService()
- Return the service that contains this server.
getHostAddress
public java.lang.String getHostAddress()
getPort
public int getPort()
getPublicKey
public java.security.PublicKey getPublicKey()
throws java.lang.Exception
- Throws:
java.lang.Exception