gov.nist.antd.diffserv
Class DiffServDropTailQueue

java.lang.Object
  |
  +--gov.nist.antd.diffserv.SimplePacketQueue
        |
        +--gov.nist.antd.diffserv.DiffServQueue
              |
              +--gov.nist.antd.diffserv.DiffServDropTailQueue

public class DiffServDropTailQueue
extends DiffServQueue

In this simple droptail queue, the packet is discarded if either the marking is "red" or if buffer overflow is occurred at the enqueuing.

 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.

Author:
Young-Tak Kim
, Eun-Hyuk Lim , borchert

Field Summary
 
Fields inherited from class gov.nist.antd.diffserv.DiffServQueue
bitrate, BufferSize, ClassType, ClassTypeString, debug, dequeueCount, DiffServFlowID, dropBytes, dropCount, DSFP, DSPSchduler, HostID, incomingBytes, incomingCount, isActive, islog, isWFQ, localHost, name, nextEFt, outgoingBytes, outgoingCount, prevdropBytes, prevdropCount, prevEFt, previncomingBytes, previncomingCount, prevoutgoingBytes, prevoutgoingCount, Rx, totalQueueingDelay, use
 
Fields inherited from class gov.nist.antd.diffserv.SimplePacketQueue
fifoQueue
 
Constructor Summary
DiffServDropTailQueue()
          Constructor DiffServDropTailQueue
 
Method Summary
 boolean enqueue(ProtocolMessage message, ProtocolSession fromSession)
          Method enqueue XXX
 
Methods inherited from class gov.nist.antd.diffserv.DiffServQueue
calculatEFtForWFQ, config, dequeue, disableQueue, enableQueue, getAvgQueueingDelay, getDropPacketBytes, getDropPacketCount, getIncomingPacketBytes, getIncomingPacketCount, getOutgoingPacketBytes, getOutgoingPacketCount, init, 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, toString, wait, wait, wait
 

Constructor Detail

DiffServDropTailQueue

public DiffServDropTailQueue()
Constructor DiffServDropTailQueue

Method Detail

enqueue

public boolean enqueue(ProtocolMessage message,
                       ProtocolSession fromSession)
Method enqueue XXX

Overrides:
enqueue in class DiffServQueue
Parameters:
message - - XXX
fromSession - - XXX
Returns:
boolean - XXX