|
||||||||||
| 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.SRTCMMeter
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
- Green (conforming PIR/PBS and CIR/CBS) - Yellow (conforming PIR/PBS and CIR, but exceeding CBS) - Red (exceeding PIR/PBS) Ref. [1] IETF RFC 2697, "A Single Rate Three Color Marker," J. Heinanen et al., September 1999. [2] IETF RFC 2698, "A Two Rate Three Color Marker," J. Heinanen et al., September 1999.
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 |
double |
EBS
Field EBS - XXX |
double |
EBSTokenBucket
Field EBSTokenBucket - XXX |
private long |
lastCheckTime
|
| 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 | |
SRTCMMeter()
Constructor SRTCMMeter |
|
| 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 CIR
public double CBS
public double EBS
public double CBSTokenBucket
public double EBSTokenBucket
private long lastCheckTime
| Constructor Detail |
public SRTCMMeter()
| 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 | |||||||||