flowsim.core
Class FixedDelayLink

java.lang.Object
  |
  +--flowsim.core.LinkImpl
        |
        +--flowsim.core.FixedDelayLink

public class FixedDelayLink
extends LinkImpl


Constructor Summary
FixedDelayLink(Simulator s, Node from, Node to, int bw, int delay)
           
 
Method Summary
static LinkFactory factory(Simulator s, int bw, int delay)
           
 int get_delay()
           
static LinkFactory randomdelay_factory(Simulator s, int bw, int min_delay, int max_delay, long seed)
           
 
Methods inherited from class flowsim.core.LinkImpl
add_flow, attach_monitor, get_bw, get_from, get_max_delay, get_min_delay, get_monitor, get_rbw, get_to, remove_flow, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FixedDelayLink

public FixedDelayLink(Simulator s,
                      Node from,
                      Node to,
                      int bw,
                      int delay)
Method Detail

factory

public static LinkFactory factory(Simulator s,
                                  int bw,
                                  int delay)

randomdelay_factory

public static LinkFactory randomdelay_factory(Simulator s,
                                              int bw,
                                              int min_delay,
                                              int max_delay,
                                              long seed)

get_delay

public int get_delay()
Overrides:
get_delay in class LinkImpl