rice.p2p.scribe.messaging
Class PublishMessage

java.lang.Object
  extended byrice.p2p.scribe.messaging.ScribeMessage
      extended byrice.p2p.scribe.messaging.PublishMessage
All Implemented Interfaces:
Message, java.io.Serializable

public class PublishMessage
extends ScribeMessage

See Also:
Serialized Form

Field Summary
protected  ScribeContent content
           
 
Fields inherited from class rice.p2p.scribe.messaging.ScribeMessage
source, topic
 
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
getSource, getTopic, setSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

content

protected ScribeContent content
Constructor Detail

PublishMessage

public PublishMessage(NodeHandle source,
                      Topic topic,
                      ScribeContent content)
Constructor which takes a unique integer Id

Parameters:
source - The source address
Method Detail

getContent

public ScribeContent getContent()
Returns the content

Returns:
The content

toString

public java.lang.String toString()





Imprint-Dataprotection