|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--gov.nist.antd.diffserv.SimplePacketQueue
|
+--gov.nist.antd.mpls.mgmt.mpls_interface.MPLSQueue
|
+--gov.nist.antd.mpls.mgmt.mpls_interface.MPLSREDQueue
MPLS RED Queue.
RED (Random Early Detection) with algorithmic drop Ref. [1] RFC 2309 Recommendations on Queue Management and Congestion avoidance in Internet, April 1998. [2] Sally Floyd and Van Jacobson, "Random Early Detection Gateways for congestion Avoidance, IEEE/ACM Tansactions on Networking, Vol. 1, No. 4, August 1993.
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 |
avgQlength
Field avgQlength - Average queue length |
int |
count
Field count |
int |
mean_pkt_size
Field mean_pkt_size - Mean Packet size |
double |
Pa
Field Pa, Pb |
double |
Pb
Field Pa, Pb |
double |
Pmax
Field Pmax |
double |
q_time
Field q_time - the time when the queue became empty |
boolean |
QueueEmpty
Field QueueEmpty - Queue Emptyr flag |
double |
QueueWeight
Field QueueWeight - weighting factor to calculate average queue size |
double |
THmax
Field THmax - Maximum Threshold |
double |
THmin
Field THmin - Mininum Threshold |
| Fields inherited from class gov.nist.antd.mpls.mgmt.mpls_interface.MPLSQueue |
BitRate, BufferSize, debug, dequeueCount, dropBytes, dropCount, HostID, incomingBytes, incomingCount, isActive, isWFQ, localHost, mplsInterfaceInfo, nextEFt, outgoingBytes, outgoingCount, prevdropBytes, prevdropCount, prevEFt, previncomingBytes, previncomingCount, prevoutgoingBytes, prevoutgoingCount, Priority, Rx, Scheduler, SumOfWeight, totalQueueingDelay, Weight |
| Fields inherited from class gov.nist.antd.diffserv.SimplePacketQueue |
|
| Constructor Summary | |
MPLSREDQueue()
Constructor MPLSREDQueue |
|
| Method Summary | |
private void |
calculateAvgQlength()
|
MessageWrapper |
dequeue()
Method dequeue |
void |
displayQueueInfo()
Method displayQueueInfo |
boolean |
enqueue(ProtocolMessage message,
ProtocolSession fromSession)
Method enqueue Enqueue the packet |
void |
init(MPLSInterfaceInfo minfo)
Initializes the Queue. |
java.lang.String |
toString()
Method toString |
| Methods inherited from class gov.nist.antd.mpls.mgmt.mpls_interface.MPLSQueue |
calculatEFtForWFQ, configWFQParms, configWFQParms, getAvgQueueingDelay, getDropPacketBytes, getDropPacketCount, getIncomingPacketBytes, getIncomingPacketCount, getOutgoingPacketBytes, getOutgoingPacketCount, setBitRate, setBufferSize, setPriorityWeight, setScheduler, setupWFQParms |
| Methods inherited from class gov.nist.antd.diffserv.SimplePacketQueue |
getAvailableQLength, getFirstPacket, getMaxSize, getQLength, init, isEmpty, isFull, reset, setMaxSize |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public double THmin
public double THmax
public double Pmax
public int mean_pkt_size
public double QueueWeight
public double avgQlength
public double q_time
public double Pa
public double Pb
public int count
public boolean QueueEmpty
| Constructor Detail |
public MPLSREDQueue()
| Method Detail |
public void init(MPLSInterfaceInfo minfo)
init in class MPLSQueueminfo - The MPLSInterfaceInfoprivate void calculateAvgQlength()
public boolean enqueue(ProtocolMessage message,
ProtocolSession fromSession)
enqueue in class MPLSQueuemessage - fromSession -
public MessageWrapper dequeue()
dequeue in class MPLSQueuepublic void displayQueueInfo()
displayQueueInfo in class MPLSQueuepublic java.lang.String toString()
toString in class MPLSQueue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||