|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--gov.nist.antd.diffserv.DiffServMeterMarker
|
+--gov.nist.antd.diffserv.TRTCMMeter
For the measurement of the arrival rate of the DiffServ class-type packets,
Token Bucket Meter (TBM) is used with SRTCM (Single Rate Three Color Marker)
or TRTCM (Two Rate Three Color Markter).
TBM with SRTCM is usually used for NCT and EF class-type where the packet
rate is defined by peak information rate (PIR) with peak burst size (PBS).
According to the result of the data rate measurement, each packet is
colored to:
This class was developed at the National Institute of Standards and
Technology by employees of the Federal Government in the course of
their official duties. Pursuant to title 17 Section 105 of the United
States Code this software is not subject to copyright protection and
is in the public domain.
NIST assumes no responsibility whatsoever for its use by other parties,
and makes no guarantees, expressed or implied, about its quality,
reliability, or any other characteristic.
We would appreciate acknowledgement if the software is used.
NIST ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND
DISCLAIM ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING
FROM THE USE OF THIS SOFTWARE.
| Field Summary | |
double |
CBS
Field CBS - XXX |
double |
CBSTokenBucket
Field CBSTokenBucket - XXX |
double |
CIR
Field CIR - XXX |
private long |
lastCheckTime
|
double |
PBS
Field PBS - XXX |
double |
PBSTokenBucket
Field PBSTokenBucket - XXX |
double |
PIR
Field PIR - XXX |
| Fields inherited from class gov.nist.antd.diffserv.DiffServMeterMarker |
bitrate, ClassType, debug, DiffServFlowID, GREEN, GreenBytes, GreenCount, hostID, localHost, name, net, RED, RedBytes, RedCount, use, YELLOW, YellowBytes, YellowCount |
| Constructor Summary | |
TRTCMMeter()
Constructor TRTCMMeter |
|
| Method Summary | |
void |
config(com.renesys.raceway.DML.Configuration cfg)
Method config XXX |
void |
Meter(ProtocolMessage message)
Method Meter XXX |
void |
updateTokenBucket()
Method updateTokenBucket |
| Methods inherited from class gov.nist.antd.diffserv.DiffServMeterMarker |
GreenPacketCount, init, RedPacketCount, resetCount, setColor, YellowPacketCount |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public double PIR
public double PBS
public double CIR
public double CBS
public double PBSTokenBucket
public double CBSTokenBucket
private long lastCheckTime
| Constructor Detail |
public TRTCMMeter()
| Method Detail |
public void config(com.renesys.raceway.DML.Configuration cfg)
throws com.renesys.raceway.DML.configException
config in class DiffServMeterMarkercfg - - XXX
com.renesys.raceway.DML.configExceptionpublic void updateTokenBucket()
public void Meter(ProtocolMessage message)
Meter in class DiffServMeterMarkermessage - - XXX
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||