|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanet.test.broadcast.DHTPeerTestMessage
Constructor Summary | |
DHTPeerTestMessage(Id sourceNodeId,
java.lang.String data)
Constructor for this Message. |
Method Summary | |
java.lang.String |
getData()
Gets the data. |
Id |
getSourceNodeId()
Gets Id of source Node, who sends this message. |
void |
setData(java.lang.String data)
Sets new data. |
void |
setSourceNodeId(Id id)
Sets a new Id of source Node, who sends (re-send) this message. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DHTPeerTestMessage(Id sourceNodeId, java.lang.String data)
sourceNodeId
- Id of the source Node.data
- String with all data to be send.Method Detail |
public java.lang.String getData()
public void setData(java.lang.String data)
data
- New data to be set.public Id getSourceNodeId()
public void setSourceNodeId(Id id)
id
- Id of the new source Node.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |