|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.mcgill.cs.postina.scribe.AckMessage
public class AckMessage
An AckMessage is an acknowledgment confirming the arrival of a message.
| Field Summary | |
|---|---|
private MessageID |
messageID
The unique identifier of a 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 | |
|---|---|
AckMessage(MessageID messageID)
The default constructor takes only a messageID. |
|
| Method Summary | |
|---|---|
MessageID |
getMessageID()
This method gets the identifier of the message that has been acknowledged. |
int |
getPriority()
|
| 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 final MessageID messageID
| Constructor Detail |
|---|
public AckMessage(MessageID messageID)
messageID - The unique identifier of the message to be acknowledged.| Method Detail |
|---|
public MessageID getMessageID()
public int getPriority()
getPriority in interface rice.p2p.commonapi.Message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||