|
||||||||||
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.HostInfoImpl
Specifies an object storing a HostInfoMessage and a timestamp indicating when the HostInfoMessage has been received the last time.
Constructor Summary | |
HostInfoImpl()
Constructs an "empty" HostInfoImpl object. |
Method Summary | |
IHostInfoMessage |
getHostInfoMessage()
Returns the HostInfoMessage encapsulated by this object. |
long |
getTimestamp()
Retrieve the timestamp of the last update of the HostInfoMessage encapsulated by this object. |
void |
setHostInfoMessage(IHostInfoMessage msg)
Returns the HostInfoMessage encapsulated by this object. |
void |
setTimestamp(long timestamp)
Sets the timestamp of the last update of the HostInfoMessage encapsulated by this object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HostInfoImpl()
Method Detail |
public IHostInfoMessage getHostInfoMessage()
getHostInfoMessage
in interface IHostInfo
public void setHostInfoMessage(IHostInfoMessage msg)
setHostInfoMessage
in interface IHostInfo
msg
- IHostInfoMessage
public long getTimestamp()
getTimestamp
in interface IHostInfo
long
timestamppublic void setTimestamp(long timestamp)
setTimestamp
in interface IHostInfo
timestamp
- long
timestamp of the last update
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |