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

## org.mpisws.p2p.transport.proximity
Interface ProximityProvider<Identifier>

All Known Subinterfaces:
  SourceRouteManager<Identifier>, UpperIdentity<Identifier,MessageType>

All Known Implementing Classes:
  MinRTTProximityProvider, NodeHandleAdapter, PastryNode, SourceRouteManagerImpl, TLPastryNode

    public interface ProximityProvider<Identifier>

Field Summary
`static int` | `DEFAULT_PROXIMITY`

Method Summary
`void` | `addProximityListener(ProximityListener<Identifier> listener)`
`void` | `clearState(Identifier i)`
`int` | `proximity(Identifier i, java.util.Map<java.lang.String,java.lang.Object> options)`
`boolean` | `removeProximityListener(ProximityListener<Identifier> listener)`

Field Detail

### DEFAULT_PROXIMITY

    static final int DEFAULT_PROXIMITY

See Also:
  Constant Field Values

Method Detail

### proximity

    int proximity(Identifier i,
                  java.util.Map<java.lang.String,java.lang.Object> options)

### addProximityListener

    void addProximityListener(ProximityListener<Identifier> listener)

### removeProximityListener

    boolean removeProximityListener(ProximityListener<Identifier> listener)

### clearState

    void clearState(Identifier i)

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.