gov.nist.antd.mpls.mgmt.mpls_interface
Class MPLSDropTailQueue

java.lang.Object
  |
  +--gov.nist.antd.diffserv.SimplePacketQueue
        |
        +--gov.nist.antd.mpls.mgmt.mpls_interface.MPLSQueue
              |
              +--gov.nist.antd.mpls.mgmt.mpls_interface.MPLSDropTailQueue

public class MPLSDropTailQueue
extends MPLSQueue

MPLS DropTail Queue.
In this simple droptail queue, the packet is discarded 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:
EunHyuk Lim (ehlim@antd.nist.gov, othree28@hotmail.com)
, borchert , Chul Kim

Field Summary
 
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
MPLSDropTailQueue()
          Constructor MPLSDropTailQueue
 
Method Summary
 boolean enqueue(ProtocolMessage message, ProtocolSession fromSession)
          Method enqueue Equeue the message
 
Methods inherited from class gov.nist.antd.mpls.mgmt.mpls_interface.MPLSQueue
calculatEFtForWFQ, configWFQParms, configWFQParms, dequeue, displayQueueInfo, getAvgQueueingDelay, getDropPacketBytes, getDropPacketCount, getIncomingPacketBytes, getIncomingPacketCount, getOutgoingPacketBytes, getOutgoingPacketCount, init, setBitRate, setBufferSize, setPriorityWeight, setScheduler, setupWFQParms, toString
 
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
 

Constructor Detail

MPLSDropTailQueue

public MPLSDropTailQueue()
Constructor MPLSDropTailQueue

Method Detail

enqueue

public boolean enqueue(ProtocolMessage message,
                       ProtocolSession fromSession)
Method enqueue Equeue the message

Overrides:
enqueue in class MPLSQueue
Parameters:
message -
fromSession -
Returns:
boolean - True if success