PriorityScheduler

Package: inet.common.queue

PriorityScheduler

simple module

This module implements a strict priority scheduler.

Packets arrived at the 0th gate are served first, then the packets arrived at the 1st gates, and so on.

The module implements the IPassiveQueue C++ interface.

Used in compound modules

Name Type Description
DiffservQueue compound module

This is an example queue, that can be used in interfaces of DS core and edge nodes to support the AFxy (RFC 2597) and EF (RFC 3246) PHBs.

EtherQoSQueue compound module

Queue module that gives the PAUSE frames a higher priority, and can be parametrized with an IOutputQueue for serving the other frames.

Properties

Name Value Description
display i=block/server

Gates

Name Direction Size Description
in [ ] input
out output

Source code

//
// This module implements a strict priority scheduler.
//
// Packets arrived at the 0th gate are served first,
// then the packets arrived at the 1st gates, and so on.
//
// The module implements the IPassiveQueue C++ interface.
//
simple PriorityScheduler
{
    @display("i=block/server");

    gates:
        input in[];
        output out;
}
File: src/inet/common/queue/PriorityScheduler.ned