planet.scribe.messaging
Class PublishRequestMessage

java.lang.Object
  extended byplanet.scribe.messaging.ScribeMessage
      extended byplanet.scribe.messaging.PublishRequestMessage
All Implemented Interfaces:
Message, java.io.Serializable

public class PublishRequestMessage
extends ScribeMessage

The publish message.

Version:
$Id: PublishRequestMessage.java,v 1.1 2003/09/24 02:20:08 amislove Exp $
Author:
Alan Mislove
See Also:
Serialized Form

Field Summary
protected  ScribeContent content
           
 
Fields inherited from class planet.scribe.messaging.ScribeMessage
source, topic
 
Constructor Summary
PublishRequestMessage(NodeHandle source, Topic topic, ScribeContent content)
           
 
Method Summary
 ScribeContent getContent()
          Returns the content
 
Methods inherited from class planet.scribe.messaging.ScribeMessage
getSource, getTopic, setSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

protected ScribeContent content
Constructor Detail

PublishRequestMessage

public PublishRequestMessage(NodeHandle source,
                             Topic topic,
                             ScribeContent content)
Parameters:
source - The source address
topic - Message topic.
content - Message content.
Method Detail

getContent

public ScribeContent getContent()
Returns the content

Returns:
The content