|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.mcgill.cs.postina.scribe.ScribeRequestMessage
ca.mcgill.cs.postina.scribe.SubscribeRequest
public class SubscribeRequest
A SubscribeRequest is a ScribeRequestMessage that
tells the client to which the SubscribeRequest is sent how
(that is to which topics and with which message) to issue the requested
subscription.
| Field Summary | |
|---|---|
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 | |
|---|---|
protected |
SubscribeRequest(java.util.Collection<rice.p2p.scribe.Topic> topics,
PostinaScribeTransportMessage content)
The constructor for a SubcribeRequest takes the
collection of the topics to which the client should
subscribe and a message that is sent together with the subscription. |
| Method Summary |
|---|
| Methods inherited from class ca.mcgill.cs.postina.scribe.ScribeRequestMessage |
|---|
getContent, getPriority, getTopics |
| 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
| Constructor Detail |
|---|
protected SubscribeRequest(java.util.Collection<rice.p2p.scribe.Topic> topics,
PostinaScribeTransportMessage content)
SubcribeRequest takes the
collection of the topics to which the client should
subscribe and a message that is sent together with the subscription.
topics - The collection of Topics to which the
client has to subscribe.content - The PostinaScribeTransportMessage that has to be sent
together with the subscription.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||