PacketDemultiplexer

Package: inet.queueing.common

PacketDemultiplexer

simple module

This module connects multiple packet collectors to one packet provider. When a packet is popped by one of the connected packet collectors, then the demultiplexer simply pops a packet from the connected packet provider.

PacketDemultiplexer

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 "passed %p pk (%l)"

determines the text that is written on top of the submodule

Properties

Name Value Description
class PacketDemultiplexer
display i=block/fork

Gates

Name Direction Size Description
in input
out [ ] output

Source code

//
// This module connects multiple packet collectors to one packet provider. When
// a packet is popped by one of the connected packet collectors, then the demultiplexer
// simply pops a packet from the connected packet provider.
//
simple PacketDemultiplexer extends PacketProcessorBase like IActivePacketSink // TODO: , IPassivePacketSource // out gate is vector
{
    parameters:
        displayStringTextFormat = default("passed %p pk (%l)");
        @class(PacketDemultiplexer);
        @display("i=block/fork");
    gates:
        input in @labels(pop);
        output out[] @labels(pop);
}
File: src/inet/queueing/common/PacketDemultiplexer.ned