Rice Pastry API

rice.p2p.scribe.messaging
Class PublishRequestMessage

java.lang.Object
  |
  +--rice.p2p.scribe.messaging.ScribeMessage
        |
        +--rice.p2p.scribe.messaging.PublishRequestMessage
All Implemented Interfaces:
Message, java.io.Serializable

public class PublishRequestMessage
extends ScribeMessage

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  rice.p2p.scribe.ScribeContent content
           
 
Fields inherited from class rice.p2p.scribe.messaging.ScribeMessage
source, topic
 
Constructor Summary
PublishRequestMessage(rice.p2p.commonapi.NodeHandle source, rice.p2p.scribe.Topic topic, rice.p2p.scribe.ScribeContent content)
          Constructor which takes a unique integer Id
 
Method Summary
 rice.p2p.scribe.ScribeContent getContent()
          Returns the content
 
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, toString, wait, wait, wait
 

Field Detail

content

protected rice.p2p.scribe.ScribeContent content
Constructor Detail

PublishRequestMessage

public PublishRequestMessage(rice.p2p.commonapi.NodeHandle source,
                             rice.p2p.scribe.Topic topic,
                             rice.p2p.scribe.ScribeContent content)
Constructor which takes a unique integer Id

Parameters:
source - The source address
Method Detail

getContent

public rice.p2p.scribe.ScribeContent getContent()
Returns the content

Returns:
The content

Rice Pastry API

Copyright © 2001 - Rice Pastry.


Imprint-Dataprotection