|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.nist.antd.diffserv.DiffServMeterMarker
This abstract class (DiffServMeterMarker) provides the basic functions
of the measurement of data rate of the DiffServ packet flow.
It measures the traffic rate according to the traffic parameters
(PDR/PBS, CDR/CBS+EBS)for the class-type, and marks according to the result.
The mark of the result is one of three colors: red, yellow or green.
SRTCM (Single Rate, Two Color Marker) and TRTCM (Two Rate, Three Color
Marker) are implemented based on this abstract class.
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 |
bitrate
Field bitrate - XXX |
int |
ClassType
Field ClassType - XXX |
boolean |
debug
Field debug - XXX |
int |
DiffServFlowID
Field DiffServFlowID - XXX |
static int |
GREEN
Field GREEN - XXX |
int |
GreenBytes
Field GreenBytes - XXX |
int |
GreenCount
Field GreenCount - XXX |
java.lang.String |
hostID
Field hostID - XXX |
Host |
localHost
Field localHost - XXX |
java.lang.String |
name
Field name - XXX |
Net |
net
Field net - XXX |
static int |
RED
Field RED - XXX |
int |
RedBytes
Field RedBytes - XXX |
int |
RedCount
Field RedCount - XXX |
java.lang.String |
use
Field use - XXX |
static int |
YELLOW
Field YELLOW - XXX |
int |
YellowBytes
Field YellowBytes - XXX |
int |
YellowCount
Field YellowCount - XXX |
| Constructor Summary | |
DiffServMeterMarker()
Constructor DiffServMeterMarker |
|
| Method Summary | |
void |
config(com.renesys.raceway.DML.Configuration cfg)
Method config XXX |
void |
GreenPacketCount(ProtocolMessage message)
Method GreenPacketCount XXX |
void |
init(DiffServPrfFlowProfile pf)
Method init XXX |
abstract void |
Meter(ProtocolMessage message)
Method Meter XXX |
void |
RedPacketCount(ProtocolMessage message)
Method RedPacketCount XXX |
void |
resetCount()
Method resetCount |
void |
setColor(int color,
ProtocolMessage message)
Method setColor XXX |
void |
YellowPacketCount(ProtocolMessage message)
Method YellowPacketCount XXX |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.lang.String hostID
public java.lang.String name
public java.lang.String use
public int DiffServFlowID
public int ClassType
public Host localHost
public Net net
public boolean debug
public int GreenCount
public int GreenBytes
public int YellowCount
public int YellowBytes
public int RedCount
public int RedBytes
public double bitrate
public static final int GREEN
public static final int YELLOW
public static final int RED
| Constructor Detail |
public DiffServMeterMarker()
| Method Detail |
public void init(DiffServPrfFlowProfile pf)
pf - - XXX
public void config(com.renesys.raceway.DML.Configuration cfg)
throws com.renesys.raceway.DML.configException
cfg - - XXX
com.renesys.raceway.DML.configException
public void setColor(int color,
ProtocolMessage message)
color - - XXXmessage - - XXXpublic void GreenPacketCount(ProtocolMessage message)
message - - XXXpublic void YellowPacketCount(ProtocolMessage message)
message - - XXXpublic void RedPacketCount(ProtocolMessage message)
message - - XXXpublic void resetCount()
public abstract void Meter(ProtocolMessage message)
message - - XXX
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||