Rice Pastry API

rice.tutorial.lesson7
Class MyPastContent

java.lang.Object
  extended byrice.p2p.past.ContentHashPastContent
      extended byrice.tutorial.lesson7.MyPastContent
All Implemented Interfaces:
PastContent, java.io.Serializable

public class MyPastContent
extends ContentHashPastContent

Version:
$Id: pretty.settings,v 1.3 2005/03/11 20:22:33 jeffh Exp $
Author:
Jeff Hoye
See Also:
Serialized Form

Field Summary
 
Fields inherited from class rice.p2p.past.ContentHashPastContent
myId
 
Constructor Summary
MyPastContent(Id id, java.lang.String content)
          Takes an environment for the timestamp An IdFactory to generate the hash The content to be stored.
 
Method Summary
 java.lang.String toString()
          A descriptive toString()
 
Methods inherited from class rice.p2p.past.ContentHashPastContent
checkInsert, getHandle, getId, isMutable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MyPastContent

public MyPastContent(Id id,
                     java.lang.String content)
Takes an environment for the timestamp An IdFactory to generate the hash The content to be stored.

Parameters:
content - to be stored
id - DESCRIBE THE PARAMETER
Method Detail

toString

public java.lang.String toString()
A descriptive toString()

Returns:
DESCRIBE THE RETURN VALUE

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection