rice.tutorial.scribe
Class MyScribeContent

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

public class MyScribeContent
extends Object
implements ScribeContent

Author:
Jeff Hoye
See Also:
Serialized Form

Constructor Summary
MyScribeContent(NodeHandle from, int seq)
          Simple constructor.
 
Method Summary
 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 String toString()
Ye ol' toString()

Overrides:
toString in class Object


Copyright © 2010. All Rights Reserved.