SSF.Net
Interface RouteTieBreaker


public interface RouteTieBreaker

Interface for a tiebreaker class that can pick a 'best route' when there are multiple same-cost routes for the same destination. Without a good tie-breaker, one can get weird load imbalances if one same-cost route is heavily favored over (or used to the exclusion of) another.


Method Summary
 RoutingInfo choose(RoutingInfo set, int srcip, int dstip)
          Pick a 'best route' when there are multiple same-cost routes for the same destination.
 

Method Detail

choose

public RoutingInfo choose(RoutingInfo set,
                          int srcip,
                          int dstip)
Pick a 'best route' when there are multiple same-cost routes for the same destination.