|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.mcgill.cs.postina.scribe.PostinaScribeTransportMessage
ca.mcgill.cs.postina.scribe.PostinaReliableScribeTransportMessage
public class PostinaReliableScribeTransportMessage
A PostinaReliableScribeTransportMessage is the message actually sent over the network when reliability is required.
| Field Summary | |
|---|---|
private MessageID |
messageID
The unique identifier of the message. |
private static long |
serialVersionUID
|
| Fields inherited from interface rice.p2p.commonapi.Message |
|---|
DEFAULT_PRIORITY, HIGH_PRIORITY, LOW_PRIORITY, LOWEST_PRIORITY, MAX_PRIORITY, MEDIUM_HIGH_PRIORITY, MEDIUM_LOW_PRIORITY, MEDIUM_PRIORITY |
| Constructor Summary | |
|---|---|
PostinaReliableScribeTransportMessage(PostinaID from,
PostinaTopic topic,
java.io.Serializable content)
The constructor for a PostinaReliableScribeTransportMessage without a special priority indicated. |
|
PostinaReliableScribeTransportMessage(PostinaID from,
PostinaTopic topic,
java.io.Serializable content,
int priority)
The constructor for a PostinaReliableScribeTransportMessage without a special priority. |
|
| Method Summary | |
|---|---|
MessageID |
getMessageID()
This method returns the unique identifier of the message. |
void |
setMessageID(MessageID messageID)
This method allows to set the messageID of this message. |
| Methods inherited from class ca.mcgill.cs.postina.scribe.PostinaScribeTransportMessage |
|---|
getContent, getFrom, getPriority, getTopic |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private MessageID messageID
| Constructor Detail |
|---|
public PostinaReliableScribeTransportMessage(PostinaID from,
PostinaTopic topic,
java.io.Serializable content)
from - The PostinaID of the sender of the message.topic - The topic of the message that has to be sent. This is not used
for direct messages.content - The actual message that has to be sent.
public PostinaReliableScribeTransportMessage(PostinaID from,
PostinaTopic topic,
java.io.Serializable content,
int priority)
from - The PostinaID of the sender of the message.topic - The topic of the message that has to be sent. This is not used
for direct messages.content - The actual message that has to be sent.priority - The integer representing the priority of the message.| Method Detail |
|---|
public MessageID getMessageID()
public void setMessageID(MessageID messageID)
messageID - The new messageID replacing the old one.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||