drcl.net.traffic
Class tsCDSmooth
java.lang.Object
drcl.DrclObj
drcl.net.traffic.TrafficShaper
drcl.net.traffic.tsCDSmooth
- All Implemented Interfaces:
- java.lang.Cloneable, ObjectCloneable, ObjectDuplicable, java.io.Serializable
- public class tsCDSmooth
- extends TrafficShaper
A traffic shaper that conforms to the (C,D)-smooth
traffic model.
- See Also:
traffic_CDSmooth,
Serialized Form
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
tsCDSmooth
public tsCDSmooth()
tsCDSmooth
public tsCDSmooth(traffic_CDSmooth traffic_)
reset
public void reset()
- Overrides:
reset in class TrafficShaper
info
public java.lang.String info(java.lang.String prefix_)
- Description copied from class:
TrafficShaper
- Prints out the content of this traffic shaper instance.
This class prints out the associated traffic model and the buffer.
A subclass only needs to call
super.info(prefix_) and
then supply the content of the parameters defined in the subclass.
- Overrides:
info in class TrafficShaper
- Parameters:
prefix_ - prefix_ that should be prepended at each line.
getTrafficModel
public TrafficModel getTrafficModel()
- Description copied from class:
TrafficShaper
- Returns the associated traffic model.
- Specified by:
getTrafficModel in class TrafficShaper
setTrafficModel
public void setTrafficModel(TrafficModel traffic_)
- Description copied from class:
TrafficShaper
- Sets the associated traffic model.
- Specified by:
setTrafficModel in class TrafficShaper
setMaxPacketSize
public void setMaxPacketSize(int size_)
getMaxPacketSize
public int getMaxPacketSize()
setC
public void setC(int c_)
getC
public int getC()
setD
public void setD(double d_)
getD
public double getD()
set
public void set(int c_,
double d_,
int mtu_)
Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved. ~ To J-Sim Home ~