Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## rice.tutorial.past
Class MyPastContent

    java.lang.Object
      rice.p2p.past.ContentHashPastContent
          rice.tutorial.past.MyPastContent

All Implemented Interfaces:
  java.io.Serializable, PastContent

    public class MyPastContent

extends ContentHashPastContent

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:
    `idf` - to generate a hash of the content
    `content` - to be stored

Method Detail

### toString

    public java.lang.String toString()

  A descriptive toString()

  Overrides:
    `toString` in class `java.lang.Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005 - Rice Pastry.