net.cnri.dobj
Class DOServerInfo

java.lang.Object
  extended by net.cnri.dobj.DOServerInfo

public class DOServerInfo
extends java.lang.Object


Method Summary
 java.lang.String getHostAddress()
           
 int getPort()
           
 java.security.PublicKey getPublicKey()
           
 java.lang.String getServerID()
          Returns a string that differentiates this server from the others in the same service.
 DOServiceInfo getService()
          Return the service that contains this server.
 java.lang.String getServiceID()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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