flowsim.core
Class FCBEFlowImpl

java.lang.Object
  |
  +--flowsim.core.FlowImpl
        |
        +--flowsim.core.RoutedFlowImpl
              |
              +--flowsim.core.UnicastFlowImpl
                    |
                    +--flowsim.core.FCBEFlowImpl

public class FCBEFlowImpl
extends UnicastFlowImpl
implements FCBEFlow

Flow with flow control such as TCP.


Fields inherited from class flowsim.core.RoutedFlowImpl
s
 
Fields inherited from class flowsim.core.FlowImpl
DS_BEST_EFFORT, DS_UNKNOWN
 
Constructor Summary
FCBEFlowImpl(Simulator s, Node from, Node to, int flow, int ds, int rport)
           
 
Method Summary
protected  UnicastFlow mkchild(Node child_node)
           
 void set_bw(int abw, int bw)
           
 void set_child_available_bw(int child_abw)
           
 void set_parent_bw(int parent_bw)
           
 
Methods inherited from class flowsim.core.UnicastFlowImpl
add_child_same_node, block, forward, get_child, get_iface, get_parent, get_to, next_node, set_parent, stop, toString
 
Methods inherited from class flowsim.core.RoutedFlowImpl
get_router_port, route, set_router_port, start
 
Methods inherited from class flowsim.core.FlowImpl
attach_monitor, detach_monitor, get_available_bw, get_bw, get_desired_bw, get_ds, get_flowid, get_from_service, get_from, get_total_bw, is_blocked, is_running, set_desired_bw, set_ds, set_flowid, set_from_service, utility
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FCBEFlowImpl

public FCBEFlowImpl(Simulator s,
                    Node from,
                    Node to,
                    int flow,
                    int ds,
                    int rport)
Method Detail

mkchild

protected UnicastFlow mkchild(Node child_node)
Overrides:
mkchild in class UnicastFlowImpl

set_child_available_bw

public void set_child_available_bw(int child_abw)
Specified by:
set_child_available_bw in interface FCBEFlow

set_parent_bw

public void set_parent_bw(int parent_bw)
Overrides:
set_parent_bw in class UnicastFlowImpl

set_bw

public void set_bw(int abw,
                   int bw)
Overrides:
set_bw in class UnicastFlowImpl