Rice Pastry API

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

All Known Subinterfaces:
SourceRouteManager<Identifier>, UpperIdentity<Identifier,MessageType>
All Known Implementing Classes:
MinRTTProximityProvider, NodeHandleAdapter, PastryNode, SourceRouteManagerImpl

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)

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection