View Javadoc

1   package org.xvsm.lookup.freepastry;
2   
3   import rice.p2p.commonapi.Id;
4   import rice.p2p.past.ContentHashPastContent;
5   
6   /***
7    * contains the String, which is to be published in the PAST network
8    * 
9    * @author Hannu-Daniel Goiss
10   */
11  public class FPPastContent extends ContentHashPastContent {
12  	String content;
13  
14  	public FPPastContent(Id id, String content) {
15  		super(id);
16  		this.content = content;
17  	}
18  
19  	public String toString() {
20  		return "FPPastContent ["+content+"]";
21  	}
22  	
23  	public String getContent() {
24  		return content;
25  	}
26  	
27  	public void setContent(String content) {
28  		this.content = content;
29  	}
30  }