LabelScheduler.ned

NED File src/inet/queueing/scheduler/LabelScheduler.ned

Name Type Description
LabelScheduler simple module

This module schedules packets based on the attached labels in a LabelsTag.

Source code

//
// Copyright (C) 2020 OpenSim Ltd.
//
// SPDX-License-Identifier: LGPL-3.0-or-later
//


package inet.queueing.scheduler;

import inet.queueing.base.PacketSchedulerBase;
import inet.queueing.contract.IPacketScheduler;

//
// This module schedules packets based on the attached labels in a ~LabelsTag.
//
simple LabelScheduler extends PacketSchedulerBase like IPacketScheduler
{
    parameters:
        int defaultGateIndex = default(0); // default gate index if no matching labels are found
        string labels; // space separated list of labels in the order of priority (highest first)
        @class(LabelScheduler);
}