flowsim.dv
Class DVRouterImpl
java.lang.Object
|
+--flowsim.core.RouterImpl
|
+--flowsim.dv.DVRouterImpl
- Direct Known Subclasses:
- CBDVRouter
- public class DVRouterImpl
- extends RouterImpl
- implements DVRouter
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
INFINITY
public static final int INFINITY
DVRouterImpl
public DVRouterImpl(Simulator s,
Node n,
int r)
factory
public static ServiceFactory factory(Simulator s)
receive_update
public void receive_update(Node from,
DVTable t)
- Specified by:
- receive_update in interface DVRouter
cost_threshold
protected int cost_threshold()
link_cost
protected int link_cost(int iface)
run
protected void run()
iface_changed
public final void iface_changed(Node n,
int i)
- Overrides:
- iface_changed in class RouterImpl
toString
public final java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
debug_table
public void debug_table()
- Specified by:
- debug_table in interface DVRouter
route
public void route(Flow flow)
- Overrides:
- route in class RouterImpl