drcl.net.traffic
Class traffic_FixedPoints
java.lang.Object
|
+--drcl.DrclObj
|
+--drcl.net.traffic.TrafficModel
|
+--drcl.net.traffic.traffic_PeakRate
|
+--drcl.net.traffic.traffic_FixedPoints
- All Implemented Interfaces:
- java.lang.Cloneable, ObjectDuplicable, java.io.Serializable, TrafficPeriodic
- public class traffic_FixedPoints
- extends traffic_PeakRate
This class allows one to specify packets to be generated at fixed time points.
The sizes of packets are in the uniform distribution as specified in the
peak rate model.
In addition to the parameters defined in the peak rate
model, this class also defines:
- Start Time
- Time to start generating packets according to the peak-rate model.
- Fixed time points
- The time points to generate packets.
- See Also:
- Serialized Form
| Methods inherited from class drcl.net.traffic.traffic_PeakRate |
getBurst, getLoad, getMaxIntArrivalTime, getMaxPktSize, getMinIntArrivalTime, getMinPktSize, getMTU, getPeriod, merge, setMaxIntArrivalTime, setMaxPktSize, setMinIntArrivalTime, setMinPktSize |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
startTime
public double startTime
fp
public java.util.Vector fp
traffic_FixedPoints
public traffic_FixedPoints()
traffic_FixedPoints
public traffic_FixedPoints(int min_,
int max_,
double miniat_,
double maxiat_)
traffic_FixedPoints
public traffic_FixedPoints(int min_,
int max_,
double miniat_,
double maxiat_,
double startTime_,
double[] timepoints_)
duplicate
public void duplicate(java.lang.Object source_)
- Description copied from class:
DrclObj
- opies the content of the
source_ object to this object.
he subclass must implement this method to realize DrclObj.clone().
- Overrides:
duplicate in class traffic_PeakRate
oneline
public java.lang.String oneline()
- Description copied from class:
TrafficModel
- Prints and returns the parameters of this model instance in one line of String.
- Overrides:
oneline in class traffic_PeakRate
finalize
protected void finalize()
- Overrides:
finalize in class java.lang.Object
setStartTime
public void setStartTime(double time_)
getStartTime
public double getStartTime()
addTimePoint
public void addTimePoint(double tp_)
addTimePoints
public void addTimePoints(double[] atp_)
setTimePoints
public void setTimePoints(double[] atp_)
getTimePoints
public double[] getTimePoints()
Copyright © 2001 - DRCL, OSU ~ Back to JavaSim Home ~