flowsim.core
Interface UnicastFlow
- All Known Subinterfaces:
- FCBEFlow, QoSUnicastFlow
- All Known Implementing Classes:
- UnicastFlowImpl, NextHopFlow
- public abstract interface UnicastFlow
- extends Flow
Methods inherited from interface flowsim.core.Flow |
attach_monitor,
block,
detach_monitor,
get_available_bw,
get_bw,
get_desired_bw,
get_ds,
get_flowid,
get_from_service,
get_from,
is_blocked,
is_running,
set_bw,
set_desired_bw,
set_ds,
set_flowid,
set_from_service,
start,
stop,
utility |
next_node
public void next_node(Node child_node)
get_to
public Node get_to()
get_parent
public UnicastFlow get_parent()
get_child
public UnicastFlow get_child()
get_iface
public LinkManager get_iface()
add_child_same_node
public UnicastFlow add_child_same_node()
- Set the child to a clone of this flow. This is used for for example
in special cases of routing, where another object has a reference
to the flow, but you want to modify it (for example the ds byte).
This is very special and is normally not used. Note that you have
to start() the flow after that.
- Returns:
- Child flow originating on the same node
set_parent_bw
public void set_parent_bw(int bw)