DefragmenterBase

Package: inet.protocolelement.fragmentation.base

simple module DefragmenterBase

Base type for packet defragmenters that reassemble original packets from fragments. Collects and stores fragments until all fragments of a packet are received, then reconstructs the original packet.

inet.protocolelement.fragmentation.base.DefragmenterBaseDefragmenterBasesimple

Inheritance diagram

Known subclasses

Name

Type

Description

FragmentNumberHeaderBasedDefragmenter

simple module

(no description)

FragmentTagBasedDefragmenter

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

DefragmenterBase

display

i=block/join

Gates

Name

Direction

Size

Description

in

input

out

output

Source code

//
// Base type for packet defragmenters that reassemble original packets from
// fragments. Collects and stores fragments until all fragments of a packet are
// received, then reconstructs the original packet.
//
simple DefragmenterBase extends PacketPusherBase
{
    parameters:
        bool deleteSelf = default(false);
        @display("i=block/join");
        @class(DefragmenterBase);
}

File: src/inet/protocolelement/fragmentation/base/DefragmenterBase.ned