gov.nist.antd.diffserv
Class RoundRobinScheduler

java.lang.Object
  |
  +--gov.nist.antd.diffserv.DiffServPacketScheduler
        |
        +--gov.nist.antd.diffserv.RoundRobinScheduler

public class RoundRobinScheduler
extends DiffServPacketScheduler

RoundRobinScheduler visits each queue sequentially in round-robin, and fetches a packet if available. RoundRobinScheduler does not use priority or weight mechanism.

 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

Nested Class Summary
 
Nested classes inherited from class gov.nist.antd.diffserv.DiffServPacketScheduler
DiffServPacketScheduler.SchedulingQueueEntry
 
Field Summary
 int startQueuelocation
          Field startQueuelocation - XXX
 
Fields inherited from class gov.nist.antd.diffserv.DiffServPacketScheduler
childScheduler, debug, DiffServFlowID, DSTConditioner, FlowProfile, ipsess, isActive, isMPLS, isPrimary, isWFQScheduler, localHost, mplsmgmt, MPLSSignalingInfoList, name, nextSchedulingTime, parentScheduler, parentScheulerInfo, SchedulingBurstSize, SchedulingQueueTable, SchedulingRate, SchedulingRateForSecondary, SchedulingRateList, SchedulingTimer, sCRLDPInfo, SumWeight, useClass
 
Constructor Summary
RoundRobinScheduler()
           
 
Method Summary
 MessageWrapper RoundRobinScheduling()
          Method RoundRobinScheduling
 void Scheduling()
          Method Scheduling
 MessageWrapper SecondaryScheduling()
          Method SecondaryScheduling
 
Methods inherited from class gov.nist.antd.diffserv.DiffServPacketScheduler
ActivateQueue, config, configClassType, configDataLinkMapping, configSecondaryScheduler, configTrafficShpaer, createSchedulingTimer, DeActivateQueue, getClassTypeInfo, holdingScheduler, init, initSecondary, LSPEstablish, PacketForwarding, setLSPReleaseTimer, setLSPStartTimer, setNextSchedulingTimer, setSchedulingInfoToChildScheduler, setSchedulingRate, setSchedulingRate, setupLSPandQueue, setWFQRx, startSchedule
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

startQueuelocation

public int startQueuelocation
Field startQueuelocation - XXX

Constructor Detail

RoundRobinScheduler

public RoundRobinScheduler()
Method Detail

Scheduling

public void Scheduling()
Method Scheduling

Specified by:
Scheduling in class DiffServPacketScheduler

SecondaryScheduling

public MessageWrapper SecondaryScheduling()
Method SecondaryScheduling

Specified by:
SecondaryScheduling in class DiffServPacketScheduler
Returns:
ProtocolMessage - XXX

RoundRobinScheduling

public MessageWrapper RoundRobinScheduling()
Method RoundRobinScheduling

Returns:
ProtocolMessage - XXX