|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanet.scribe.messaging.ScribeMessage
public abstract class ScribeMessage
This class the abstraction of a message used internally by Scribe.
Field Summary | |
---|---|
protected NodeHandle |
source
|
protected Topic |
topic
|
Constructor Summary | |
---|---|
protected |
ScribeMessage(NodeHandle source,
Topic topic)
|
Method Summary | |
---|---|
NodeHandle |
getSource()
Method which returns this messages' source address |
Topic |
getTopic()
Method which returns this messages' topic |
void |
setSource(NodeHandle source)
Method which set this messages' source address |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected NodeHandle source
protected Topic topic
Constructor Detail |
---|
protected ScribeMessage(NodeHandle source, Topic topic)
source
- The source addresstopic
- The topicMethod Detail |
---|
public NodeHandle getSource()
public void setSource(NodeHandle source)
source
- The source of this messagepublic Topic getTopic()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |