flowsim.core
Class RoutedFlowImpl

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

public abstract class RoutedFlowImpl
extends FlowImpl
implements RoutedFlow


Field Summary
protected  Simulator s
           
 
Fields inherited from class flowsim.core.FlowImpl
DS_BEST_EFFORT, DS_UNKNOWN
 
Constructor Summary
RoutedFlowImpl(Simulator s, Node from, int bw, int flow, int type, int router_port)
           
 
Method Summary
 void forward(LinkManager lm)
           
 int get_router_port()
           
 void route()
           
 void set_router_port(int port)
           
 void start()
           
 
Methods inherited from class flowsim.core.FlowImpl
attach_monitor, block, 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_bw, set_desired_bw, set_ds, set_flowid, set_from_service, stop, utility
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

s

protected Simulator s
Constructor Detail

RoutedFlowImpl

public RoutedFlowImpl(Simulator s,
                      Node from,
                      int bw,
                      int flow,
                      int type,
                      int router_port)
Method Detail

get_router_port

public final int get_router_port()
Specified by:
get_router_port in interface RoutedFlow

set_router_port

public final void set_router_port(int port)
Specified by:
set_router_port in interface RoutedFlow

forward

public void forward(LinkManager lm)
Specified by:
forward in interface RoutedFlow
Overrides:
forward in class FlowImpl

route

public void route()

start

public void start()
Overrides:
start in class FlowImpl