easypastry.cast
Class CastContent

java.lang.Object
  extended by easypastry.cast.CastContent
All Implemented Interfaces:
java.io.Serializable, rice.p2p.scribe.ScribeContent

public class CastContent
extends java.lang.Object
implements rice.p2p.scribe.ScribeContent

See Also:
Serialized Form

Field Summary
protected  int num
           
protected  java.lang.String subject
           
 
Constructor Summary
CastContent(java.lang.String subject)
           
 
Method Summary
 void addHost(rice.p2p.commonapi.NodeHandle nh)
           
 rice.p2p.commonapi.Id getKey()
           
 int getNum()
           
 int getNumOfHops()
           
 java.util.Vector<rice.p2p.commonapi.NodeHandle> getPath()
           
 rice.p2p.commonapi.NodeHandle getSource()
           
 java.lang.String getSubject()
           
 void setKey(rice.p2p.commonapi.Id key)
           
 void setNum(int num)
           
 void setSource(rice.p2p.commonapi.NodeHandle source)
           
 void setSubject(java.lang.String subject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

subject

protected java.lang.String subject

num

protected int num
Constructor Detail

CastContent

public CastContent(java.lang.String subject)
Method Detail

setSubject

public void setSubject(java.lang.String subject)

setSource

public void setSource(rice.p2p.commonapi.NodeHandle source)

setKey

public void setKey(rice.p2p.commonapi.Id key)

addHost

public void addHost(rice.p2p.commonapi.NodeHandle nh)

getSource

public rice.p2p.commonapi.NodeHandle getSource()

getNumOfHops

public int getNumOfHops()

getSubject

public java.lang.String getSubject()

getPath

public java.util.Vector<rice.p2p.commonapi.NodeHandle> getPath()

getNum

public int getNum()

getKey

public rice.p2p.commonapi.Id getKey()

setNum

public void setNum(int num)