Rice Pastry API

rice.tutorial.lesson6
Class MyScribeContent

java.lang.Object
  extended byrice.tutorial.lesson6.MyScribeContent
All Implemented Interfaces:
ScribeContent, java.io.Serializable

public class MyScribeContent
extends java.lang.Object
implements ScribeContent

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

Constructor Summary
MyScribeContent(NodeHandle from, int seq)
          Simple constructor.
 
Method Summary
 java.lang.String toString()
          Ye ol' toString()
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MyScribeContent

public MyScribeContent(NodeHandle from,
                       int seq)
Simple constructor. Typically, you would also like some interesting payload for your application.

Parameters:
from - Who sent the message.
seq - the sequence number of this content.
Method Detail

toString

public java.lang.String toString()
Ye ol' toString()

Returns:
DESCRIBE THE RETURN VALUE

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection