|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--at.ac.tuwien.infosys.rnue.helpers.multicast.HostInfoMessageImpl
This class provides the functionality to identify a given host.
Constructor Summary | |
HostInfoMessageImpl()
Constructs an "empty" HostInfoMessage object. |
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. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HostInfoMessageImpl()
Method Detail |
public java.lang.String getRegistryHost()
getRegistryHost
in interface IHostInfoMessage
public void setRegistryHost(java.lang.String host)
setRegistryHost
in interface IHostInfoMessage
host
- the host's name.public int getRegistryPort()
getRegistryPort
in interface IHostInfoMessage
public void setRegistryPort(int port)
setRegistryPort
in interface IHostInfoMessage
port
- the port number.public java.lang.String getServiceName()
getServiceName
in interface IHostInfoMessage
public void setServiceName(java.lang.String serviceName)
setServiceName
in interface IHostInfoMessage
serviceName
- service namepublic java.lang.String getHumanReadableName()
getHumanReadableName
in interface IHostInfoMessage
public void setHumanReadableName(java.lang.String name)
setHumanReadableName
in interface IHostInfoMessage
name
- the human readable name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |