|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface provides the functionality to identify a given host.
Method Summary | |
java.lang.String |
getHumanReadableName()
Returns the human readable name of the peer identified by the IHostInfoMessage. |
java.lang.String |
getRegistryHost()
Returns the name of the hostname of the peer identified by this IHostInfoMessage. |
int |
getRegistryPort()
Returns the port of the registry of the peer identified by this IHostInfoMessage. |
java.lang.String |
getServiceName()
Returns the service name (the part after the hostname of an RMI URL) of the peer identified by the IHostInfoMessage. |
void |
setHumanReadableName(java.lang.String name)
Sets the human readable name of the peer identified by the IHostInfoMessage. |
void |
setRegistryHost(java.lang.String host)
Sets the name of the hostname of the peer to be identified by this IHostInfoMessage. |
void |
setRegistryPort(int port)
Sets the port of the registry of the peer identified by this IHostInfoMessage. |
void |
setServiceName(java.lang.String serviceName)
Sets the service name (the part after the hostname of an RMI URL) of the peer identified by the IHostInfoMessage. |
Method Detail |
public java.lang.String getRegistryHost()
public void setRegistryHost(java.lang.String host)
host
- the host's name.public int getRegistryPort()
public void setRegistryPort(int port)
port
- the port number.public java.lang.String getServiceName()
public void setServiceName(java.lang.String serviceName)
serviceName
- service namepublic java.lang.String getHumanReadableName()
public void setHumanReadableName(java.lang.String name)
name
- the human readable name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |