|
ePOST API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.p2p.scribe.messaging.ScribeMessage
rice.p2p.scribe.messaging.PublishMessage
public class PublishMessage
| Field Summary | |
|---|---|
protected ScribeContent |
content
|
| Fields inherited from class rice.p2p.scribe.messaging.ScribeMessage |
|---|
source, topic |
| Fields inherited from interface rice.p2p.commonapi.Message |
|---|
HIGH_PRIORITY, LOW_PRIORITY, MEDIUM_HIGH_PRIORITY, MEDIUM_LOW_PRIORITY, MEDIUM_PRIORITY |
| Constructor Summary | |
|---|---|
PublishMessage(NodeHandle source,
Topic topic,
ScribeContent content)
Constructor which takes a unique integer Id |
|
| Method Summary | |
|---|---|
ScribeContent |
getContent()
Returns the content |
java.lang.String |
toString()
|
| Methods inherited from class rice.p2p.scribe.messaging.ScribeMessage |
|---|
getPriority, getSource, getTopic, setSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected ScribeContent content
| Constructor Detail |
|---|
public PublishMessage(NodeHandle source,
Topic topic,
ScribeContent content)
id - The unique idsource - The source addressdest - The destination address| Method Detail |
|---|
public ScribeContent getContent()
public java.lang.String toString()
toString in class java.lang.Object
|
ePOST API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||