Package: inet.queueing.source
EmptyPacketSource
simple moduleThis module is an active/passive empty packet source. It doesn't push packets into the connected module, and it doesn't allow packets to be pulled from it by the connected module. The output gate generates backpressure for pull packet operations.
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)
function | info | call from |
---|---|---|
inet::queueing::EmptyPacketSource::handleCanPushPacketChanged | handleCanPushPacketChanged | MarkovScheduler |
Source code
// // This module is an active/passive empty packet source. It doesn't push packets // into the connected module, and it doesn't allow packets to be pulled from it // by the connected module. The output gate generates backpressure for pull packet // operations. // simple EmptyPacketSource extends PacketProcessorBase like IPacketSource, IActivePacketSource, IPassivePacketSource { parameters: displayStringTextFormat = default("created 0 pk (0 B)"); @class(EmptyPacketSource); @display("i=block/source"); gates: output out @labels(push,pull); }File: src/inet/queueing/source/EmptyPacketSource.ned