|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.mcgill.cs.postina.scribe.ScribeRequestMessage
public abstract class ScribeRequestMessage
A ScribeRequestMessage is a special message that is sent to a
client in the network to ask it to perform a certain action. Currently it is
used for subscriptions and unsubscriptions.
| Field Summary | |
|---|---|
private PostinaScribeTransportMessage |
content
The message that can be sent together with a subscription or unsubscription. |
private static long |
serialVersionUID
|
private java.util.Collection<rice.p2p.scribe.Topic> |
topics
The collection of Topics which should be used by the client when
taking the required action. |
| 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 | |
|---|---|
protected |
ScribeRequestMessage(java.util.Collection<rice.p2p.scribe.Topic> topics,
PostinaScribeTransportMessage content)
The constructor for a ScribeRequestMessage. |
| Method Summary | |
|---|---|
protected PostinaScribeTransportMessage |
getContent()
This method gets the message that is sent together with a subscription or unsubscription. |
int |
getPriority()
|
protected java.util.Collection<rice.p2p.scribe.Topic> |
getTopics()
This method gets the collection of topics that are necessary for the subscription or unsubscription. |
| 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 PostinaScribeTransportMessage content
private final java.util.Collection<rice.p2p.scribe.Topic> topics
Topics which should be used by the client when
taking the required action.
| Constructor Detail |
|---|
protected ScribeRequestMessage(java.util.Collection<rice.p2p.scribe.Topic> topics,
PostinaScribeTransportMessage content)
ScribeRequestMessage.
topics - The collection of Topics which have to be used for
the action.content - The message that is sent together with a subscription or
unsubscription.| Method Detail |
|---|
protected PostinaScribeTransportMessage getContent()
PostinaScribeTransportMessage that is sent together
with a subscription/unsubscription.public int getPriority()
getPriority in interface rice.p2p.commonapi.Messageprotected java.util.Collection<rice.p2p.scribe.Topic> getTopics()
Topics that are part of this
ScribeRequestMessage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||