mam.internetworking
Class RoutingPaths

Direct Known Subclasses:
TaggedRoutingPaths

public class RoutingPaths
implements Serializable


Field Summary
 final static StringATTRIBUTE_ASSIMILATION_WEIGHT
           
 final static StringATTRIBUTE_DECAY_FACTOR
           
 (package private) final static doubleDECAY_FACTOR
           
 (package private) final static doubleDEFAULT_ASSIMILATION_WEIGHT
           
 (package private) booleanm_debug
           
 (package private) doublem_minimumLifeRequired
           
 (package private) booleanm_quit
           
 (package private) Mapm_routingPaths
           
 final static StringTAG_NAME
           

Constructor Summary
RoutingPaths()
           

Method Summary
 synchronized voidaddRoutingPath(LocalRoutingPath newPath)
           
 synchronized voidaddRoutingPath(RemoteableRoutingPath newPath)
           
 synchronized voidaddRoutingPath(RemoteableRoutingPath newPath, double weight)
           
 synchronized voidaddRoutingPath(LocalRoutingPath newPath, double weight)
           
 (package private) voidassimilate(RoutingPaths otherPaths)
           
 synchronized CollectiongetAllRoutingPaths()
           
 doublegetMinimumLifeRequired()
           
 synchronized CollectiongetNRoutingPaths(int numberOfRoutesDesired)
           
 synchronized AbstractRoutingPathgetOneRoutingPath()
           
 (package private) synchronized voidhalfLife()
           
 synchronized voidsetMinimumLifeRequired(double minimumLifeRequired)
           
 StringtoDebugString()
           

Field Detail

ATTRIBUTE_ASSIMILATION_WEIGHT

public final static String ATTRIBUTE_ASSIMILATION_WEIGHT

ATTRIBUTE_DECAY_FACTOR

public final static String ATTRIBUTE_DECAY_FACTOR

DECAY_FACTOR

final static double DECAY_FACTOR

DEFAULT_ASSIMILATION_WEIGHT

final static double DEFAULT_ASSIMILATION_WEIGHT

m_debug

boolean m_debug

m_minimumLifeRequired

double m_minimumLifeRequired

m_quit

boolean m_quit

m_routingPaths

Map m_routingPaths

TAG_NAME

public final static String TAG_NAME
Constructor Detail

RoutingPaths

public RoutingPaths()
Method Detail

addRoutingPath

public synchronized void addRoutingPath(LocalRoutingPath newPath)

addRoutingPath

public synchronized void addRoutingPath(RemoteableRoutingPath newPath)

addRoutingPath

public synchronized void addRoutingPath(RemoteableRoutingPath newPath, double weight)

addRoutingPath

public synchronized void addRoutingPath(LocalRoutingPath newPath, double weight)

assimilate

void assimilate(RoutingPaths otherPaths)

getAllRoutingPaths

public synchronized Collection getAllRoutingPaths()

getMinimumLifeRequired

public double getMinimumLifeRequired()

getNRoutingPaths

public synchronized Collection getNRoutingPaths(int numberOfRoutesDesired)

getOneRoutingPath

public synchronized AbstractRoutingPath getOneRoutingPath()

halfLife

synchronized void halfLife()

setMinimumLifeRequired

public synchronized void setMinimumLifeRequired(double minimumLifeRequired)

toDebugString

public String toDebugString()