/[storm]/storm/org/nongnu/storm/impl/p2p/Peer.java
ViewVC logotype

Diff of /storm/org/nongnu/storm/impl/p2p/Peer.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by hemppah, Wed May 7 09:15:23 2003 UTC revision 1.6 by benja, Fri May 9 10:54:56 2003 UTC
# Line 79  public class Peer { Line 79  public class Peer {
79              BlockId id = (BlockId)i.next();              BlockId id = (BlockId)i.next();
80              Block block = publishedPool.get(id);              Block block = publishedPool.get(id);
81              map.put(id.toString(), server.getURL()+id.toString());              map.put(id.toString(), server.getURL()+id.toString());
82                map.put("http://fenfire.org/2003/05/published-blocks",
83                        id.toString());
84                            
85              p("Published: " + id.toString() + "(key):" + server.getURL() +              p("Published: " + id.toString() + "(key):" + server.getURL() +
86              id.toString()+ "(value)\n");              id.toString()+ "(value)\n");
# Line 95  public class Peer { Line 97  public class Peer {
97                  }                  }
98              }              }
99          }          }
         // XXX put indexing information into pool!  
100      }      }
101    
102      public IndexedPool getPool() {      public IndexedPool getPool() {

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26