DRCL JavaSim API

drcl.net.traffic
Class TrafficModel

java.lang.Object
  |
  +--drcl.DrclObj
        |
        +--drcl.net.traffic.TrafficModel
All Implemented Interfaces:
java.lang.Cloneable, ObjectDuplicable, java.io.Serializable
Direct Known Subclasses:
traffic_CDSmooth, traffic_ExpOnOff, traffic_OnOff, traffic_PacketTrain, traffic_ParetoOnOff, traffic_PeakRate, traffic_Periodic, traffic_RTSmooth, traffic_TokenBucket

public abstract class TrafficModel
extends DrclObj

This class is the base class for defining a traffic model.

See Also:
Serialized Form

Constructor Summary
TrafficModel()
           
 
Method Summary
abstract  int getBurst()
          Returns the maximum burstness that can be generated from this model instance (byte).
abstract  double getLoad()
          Returns the load of this traffic model instance (bps).
abstract  int getMTU()
          Returns the maximum transmission unit (MTU) of this model instance (byte).
abstract  TrafficModel merge(TrafficModel that_)
          Merges this instance with the specified one and returns this instance.
abstract  java.lang.String oneline()
          Prints and returns the parameters of this model instance in one line of String.
 
Methods inherited from class drcl.DrclObj
clone, duplicate, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TrafficModel

public TrafficModel()
Method Detail

getLoad

public abstract double getLoad()
Returns the load of this traffic model instance (bps). It provides a general sense of how much traffic there is in this model instance.

getMTU

public abstract int getMTU()
Returns the maximum transmission unit (MTU) of this model instance (byte).

getBurst

public abstract int getBurst()
Returns the maximum burstness that can be generated from this model instance (byte).

merge

public abstract TrafficModel merge(TrafficModel that_)
Merges this instance with the specified one and returns this instance.

oneline

public abstract java.lang.String oneline()
Prints and returns the parameters of this model instance in one line of String.

DRCL JavaSim API

Copyright © 2001 - DRCL, OSU     ~ Back to JavaSim Home ~