EmptyPacketSource

Package: inet.queueing.source

EmptyPacketSource

simple module

This module is an empty packet source which never pushes packets into the connected packet consumer.

EmptyPacketSource

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends

Name Type Description
PacketProcessorBase simple module

This is a base module for various packet processing modules which maintains a few statistics.

Parameters

Name Type Default value Description
displayStringTextFormat string "created 0 pk (0 B)"

determines the text that is written on top of the submodule

Properties

Name Value Description
display i=block/source
class EmptyPacketSource

Gates

Name Direction Size Description
out output

Called methods (observed)

functioninfocall from
inet::queueing::EmptyPacketSource::handleCanPushPacketChangedhandleCanPushPacketChangedMarkovScheduler

Source code

//
// This module is an empty packet source which never pushes packets into the
// connected packet consumer.
//
simple EmptyPacketSource extends PacketProcessorBase like IActivePacketSource
{
    parameters:
        displayStringTextFormat = default("created 0 pk (0 B)");
        @class(EmptyPacketSource);
        @display("i=block/source");
    gates:
        output out @labels(push);
}
File: src/inet/queueing/source/EmptyPacketSource.ned