DeaggregatorBase

Package: inet.protocolelement.aggregation.base

simple module DeaggregatorBase

Base module for packet deaggregation. Takes an aggregated packet and splits it back into its original subpackets. Deaggregation is the reverse process of aggregation, extracting individual packets that were previously combined to reduce header overhead. The module receives an aggregated packet, extracts the individual subpackets, and forwards each one separately through its output gate.

See also: AggregatorBase

inet.protocolelement.aggregation.base.DeaggregatorBaseDeaggregatorBasesimple

Inheritance diagram

Known subclasses

Name

Type

Description

SubpacketLengthHeaderBasedDeaggregator

simple module

(no description)

Extends

Name

Type

Description

PacketPusherBase

simple module

Base module for various packet pusher modules.

Parameters

Name

Type

Default value

Description

displayStringTextFormat

string

“processed {numProcessedPackets} pk ({processedTotalLength})”

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

deleteSelf

bool

false

Properties

Name

Value

Description

class

DeaggregatorBase

display

i=block/fork

Gates

Name

Direction

Size

Description

in

input

out

output

Source code

//
// Base module for packet deaggregation. Takes an aggregated packet and splits it
// back into its original subpackets. Deaggregation is the reverse process of
// aggregation, extracting individual packets that were previously combined to
// reduce header overhead. The module receives an aggregated packet, extracts the
// individual subpackets, and forwards each one separately through its output gate.
//
// @see AggregatorBase
//
simple DeaggregatorBase extends PacketPusherBase
{
    parameters:
        bool deleteSelf = default(false);
        @display("i=block/fork");
        @class(DeaggregatorBase);
}

File: src/inet/protocolelement/aggregation/base/DeaggregatorBase.ned