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 Object
implements SourceRouteForwardStrategy<Identifier>


Constructor Summary
LivenesSourceRouteForwardStrategy(SourceRouteFactory<Identifier> factory, Environment env)
           
 
Method Summary
 boolean forward(Identifier nextHop, SourceRoute<Identifier> sr, boolean socket, Map<String,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,
                       Map<String,Object> options)
Specified by:
forward in interface SourceRouteForwardStrategy<Identifier>


Copyright © 2010. All Rights Reserved.