gov.nist.antd.mpls.mgmt.mpls_interface
Class RoundRobinScheduler
java.lang.Object
|
+--gov.nist.antd.mpls.mgmt.mpls_interface.MPLSPacketScheduler
|
+--gov.nist.antd.mpls.mgmt.mpls_interface.RoundRobinScheduler
- public class RoundRobinScheduler
- extends MPLSPacketScheduler
Scheduler for the RoundRobin Scheduling. The RoundRobinScheduler visits each
queue sequentially in round-robin, and fetches a packet if available.
the 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:
- EunHyuk Lim (ehlim@antd.nist.gov, othree28@hotmail.com)
, borchert
| Fields inherited from class gov.nist.antd.mpls.mgmt.mpls_interface.MPLSPacketScheduler |
childScheduler, debug, hostID, isActive, isPrimary, localHost, mplsInterfaceInfo, nextSchedulingTime, parentScheduler, schedulingBurstSize, schedulingQueueTable, schedulingRate, schedulingTimer |
| Methods inherited from class gov.nist.antd.mpls.mgmt.mpls_interface.MPLSPacketScheduler |
createSchedulingTimer, createSecondaryScheduler, getChildScheduler, getParentScheduler, holdingScheduler, init, initSecondary, packetForwarding, setNextSchedulingTimer, setSchedulingRate, startScheduling |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
startQueuelocation
public int startQueuelocation
- Field startQueuelocation
RoundRobinScheduler
public RoundRobinScheduler()
scheduling
public void scheduling()
- This method schedules the next package determined by Rund-Robin-Scheduling
- Specified by:
scheduling in class MPLSPacketScheduler
secondaryScheduling
public MessageWrapper secondaryScheduling()
- Method SecondaryScheduling
- Specified by:
secondaryScheduling in class MPLSPacketScheduler
- Returns:
- ProtocolMessage - XXX
roundRobinScheduling
public MessageWrapper roundRobinScheduling()
- Method RoundRobinScheduling
- Returns:
- ProtocolMessage - XXX