Rice Pastry API

rice.pastry.socket
Class LivenesSourceRouteForwardStrategy<Identifier>

java.lang.Object
  extended by rice.pastry.socket.LivenesSourceRouteForwardStrategy<Identifier>
All Implemented Interfaces:
SourceRouteForwardStrategy<Identifier>

public class LivenesSourceRouteForwardStrategy<Identifier>
extends java.lang.Object
implements SourceRouteForwardStrategy<Identifier>


Constructor Summary
LivenesSourceRouteForwardStrategy(SourceRouteFactory<Identifier> factory, Environment env)
           
 
Method Summary
 boolean forward(Identifier nextHop, SourceRoute<Identifier> sr, boolean socket, java.util.Map<java.lang.String,java.lang.Object> options)
           
 void setLivenessProvider(LivenessProvider<SourceRoute<Identifier>> liveness)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LivenesSourceRouteForwardStrategy

public LivenesSourceRouteForwardStrategy(SourceRouteFactory<Identifier> factory,
                                         Environment env)
Method Detail

setLivenessProvider

public void setLivenessProvider(LivenessProvider<SourceRoute<Identifier>> liveness)

forward

public boolean forward(Identifier nextHop,
                       SourceRoute<Identifier> sr,
                       boolean socket,
                       java.util.Map<java.lang.String,java.lang.Object> options)
Specified by:
forward in interface SourceRouteForwardStrategy<Identifier>

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection