flowsim.core
Class QoSUnicastFlowImpl

java.lang.Object
  |
  +--flowsim.core.FlowImpl
        |
        +--flowsim.core.RoutedFlowImpl
              |
              +--flowsim.core.UnicastFlowImpl
                    |
                    +--flowsim.core.QoSUnicastFlowImpl
Direct Known Subclasses:
CBDVUnicastFlow

public class QoSUnicastFlowImpl
extends UnicastFlowImpl
implements QoSUnicastFlow


Fields inherited from class flowsim.core.RoutedFlowImpl
s
 
Fields inherited from class flowsim.core.FlowImpl
DS_BEST_EFFORT, DS_UNKNOWN
 
Constructor Summary
QoSUnicastFlowImpl(Simulator s, Node from, Node to, int bw, int flow, int ds, int rport, int max_delay, int min_bw, boolean is_be)
           
 
Method Summary
 void forward(LinkManager lm)
           
 int get_max_delay()
           
 int get_min_bw()
           
 boolean is_be()
           
protected  UnicastFlow mkchild(Node child_node)
           
 void set_bw(int abw, int bw)
           
 
Methods inherited from class flowsim.core.UnicastFlowImpl
add_child_same_node, block, get_child, get_iface, get_parent, get_to, next_node, set_parent_bw, 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

QoSUnicastFlowImpl

public QoSUnicastFlowImpl(Simulator s,
                          Node from,
                          Node to,
                          int bw,
                          int flow,
                          int ds,
                          int rport,
                          int max_delay,
                          int min_bw,
                          boolean is_be)
Method Detail

get_max_delay

public final int get_max_delay()
Specified by:
get_max_delay in interface QoSUnicastFlow

get_min_bw

public final int get_min_bw()
Specified by:
get_min_bw in interface QoSUnicastFlow

is_be

public final boolean is_be()
Specified by:
is_be in interface QoSUnicastFlow

mkchild

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

forward

public void forward(LinkManager lm)
Overrides:
forward in class UnicastFlowImpl

set_bw

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