Rice Pastry API

org.mpisws.p2p.transport.sourceroute
Class DefaultForwardSourceRouteStrategy<Identifier>

java.lang.Object
  extended by org.mpisws.p2p.transport.sourceroute.DefaultForwardSourceRouteStrategy<Identifier>
Type Parameters:
Identifier -
All Implemented Interfaces:
SourceRouteForwardStrategy<Identifier>

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

Always accepts.

Author:
Jeff Hoye

Constructor Summary
DefaultForwardSourceRouteStrategy()
           
 
Method Summary
 boolean forward(Identifier nextHop, SourceRoute<Identifier> sr, boolean socket, 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
 

Constructor Detail

DefaultForwardSourceRouteStrategy

public DefaultForwardSourceRouteStrategy()
Method Detail

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