Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## rice.pastry.socket
Class LivenesSourceRouteForwardStrategy<Identifier>

    java.lang.Object
      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>`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005 - Rice Pastry.