|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Message
Distributed Systems Course Project
Year: 2009/2010
University of Trento
Message -. Interface used to implement the messages.
http://peersim.sourceforge.net/| Method Summary | |
|---|---|
long |
getMessageID()
Gets the message id. |
java.lang.Object |
getPayload()
Gets the payload. |
int |
getProtocolID()
Gets the protocol id. |
peersim.core.Node |
getReceiver()
Gets the receiver. |
peersim.core.Node |
getSender()
Gets the sender. |
void |
setReceiver(peersim.core.Node receiver)
Sets the receiver. |
java.lang.String |
toString()
To string. |
| Method Detail |
|---|
long getMessageID()
java.lang.Object getPayload()
peersim.core.Node getSender()
peersim.core.Node getReceiver()
void setReceiver(peersim.core.Node receiver)
receiver - the new receiverint getProtocolID()
java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||