OmittedPacketDelayer.ned

NED File src/inet/queueing/common/OmittedPacketDelayer.ned

Name Type Description
OmittedPacketDelayer compound module

This module implements the module given interface and can be used as an omitted optional module that removes itself from the module hierarchy during initialize.

Source code

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


package inet.queueing.common;

import inet.queueing.contract.IPacketDelayer;

//
// This module implements the module given interface and can be used as an omitted
// optional module that removes itself from the module hierarchy during initialize.
//
module OmittedPacketDelayer like IPacketDelayer
{
    parameters:
        @class(::inet::OmittedModule);
        @display("i=block/delay,black,50");
    gates:
        input in;
        output out;
    connections:
        in --> out;
}