ePOST API

rice.tutorial.lesson6
Class MyScribeContent

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

public class MyScribeContent
extends java.lang.Object
implements ScribeContent

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()

Overrides:
toString in class java.lang.Object

ePOST API

Copyright © 2001-2005 - Rice Pastry.