Rice Pastry API

rice.pastry.socket.nat.rendezvous
Class LeafSetRendezvousStrategy

java.lang.Object
  extended by rice.pastry.socket.nat.rendezvous.LeafSetRendezvousStrategy
All Implemented Interfaces:
RendezvousGenerationStrategy<RendezvousSocketNodeHandle>

public class LeafSetRendezvousStrategy
extends java.lang.Object
implements RendezvousGenerationStrategy<RendezvousSocketNodeHandle>

Update RendezvousInfo based on the LeafSet

Author:
Jeff Hoye

Field Summary
protected  PastryNode pn
           
protected  RandomSource random
           
 
Constructor Summary
LeafSetRendezvousStrategy(PastryNode pn, RandomSource r)
           
 
Method Summary
 RendezvousSocketNodeHandle getRendezvousPoint(RendezvousSocketNodeHandle dest, java.util.Map<java.lang.String,java.lang.Object> options)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pn

protected PastryNode pn

random

protected RandomSource random
Constructor Detail

LeafSetRendezvousStrategy

public LeafSetRendezvousStrategy(PastryNode pn,
                                 RandomSource r)
Method Detail

getRendezvousPoint

public RendezvousSocketNodeHandle getRendezvousPoint(RendezvousSocketNodeHandle dest,
                                                     java.util.Map<java.lang.String,java.lang.Object> options)
Specified by:
getRendezvousPoint in interface RendezvousGenerationStrategy<RendezvousSocketNodeHandle>

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection