|
J-Sim v1.2.1-p7 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdrcl.DrclObj
drcl.net.traffic.TrafficModel
drcl.net.traffic.traffic_PeakRate
This class describes the peak rate traffic model. It defines the following parameters:
| Field Summary | |
double |
maxIntArrivalTime
|
int |
maxPktSize
|
double |
minIntArrivalTime
|
int |
minPktSize
|
| Constructor Summary | |
traffic_PeakRate()
|
|
traffic_PeakRate(int min_,
int max_,
double miniat_,
double maxiat_)
|
|
| Method Summary | |
void |
duplicate(java.lang.Object source_)
opies the content of the source_ object to this object. |
int |
getBurst()
Returns the maximum burstness that can be generated from this model instance (byte). |
double |
getLoad()
Returns the load of this traffic model instance (bps). |
double |
getMaxIntArrivalTime()
|
int |
getMaxPktSize()
|
double |
getMinIntArrivalTime()
|
int |
getMinPktSize()
|
int |
getMTU()
Returns the maximum transmission unit (MTU) of this model instance (byte). |
double |
getPeriod()
Returns the period in second. |
TrafficModel |
merge(TrafficModel that_)
Merges this instance with the specified one and returns this instance. |
java.lang.String |
oneline()
Prints and returns the parameters of this model instance in one line of String. |
void |
set(int min_,
int max_,
double miniat_,
double maxiat_)
|
void |
setMaxIntArrivalTime(double time_)
|
void |
setMaxPktSize(int size_)
|
void |
setMinIntArrivalTime(double time_)
|
void |
setMinPktSize(int size_)
|
| Methods inherited from class drcl.DrclObj |
clone, toString |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public int maxPktSize
public int minPktSize
public double maxIntArrivalTime
public double minIntArrivalTime
| Constructor Detail |
public traffic_PeakRate()
public traffic_PeakRate(int min_,
int max_,
double miniat_,
double maxiat_)
| Method Detail |
public void set(int min_,
int max_,
double miniat_,
double maxiat_)
public double getPeriod()
TrafficPeriodic
getPeriod in interface TrafficPeriodicpublic double getLoad()
TrafficModel
getLoad in class TrafficModelpublic int getBurst()
TrafficModel
getBurst in class TrafficModelpublic TrafficModel merge(TrafficModel that_)
TrafficModel
merge in class TrafficModelpublic void duplicate(java.lang.Object source_)
DrclObjsource_ object to this object.
he subclass must implement this method to realize DrclObj.clone().
duplicate in interface ObjectDuplicableduplicate in class DrclObjpublic java.lang.String oneline()
TrafficModel
oneline in class TrafficModelpublic void setMaxPktSize(int size_)
public int getMaxPktSize()
public void setMinPktSize(int size_)
public int getMinPktSize()
public void setMaxIntArrivalTime(double time_)
public double getMaxIntArrivalTime()
public void setMinIntArrivalTime(double time_)
public double getMinIntArrivalTime()
public int getMTU()
TrafficModel
getMTU in class TrafficModel
|
J-Sim v1.2.1-p7 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||