FragmentTag

FragmentTag

class

C++ definition

(no description)

Inheritance diagram

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

Extends

Name Type Description
TagBase class

This is an abstract base class that should not be directly added to a message as a tag. It is used as the base class of all tags, thus it doesn't have any fields.

Fields

Name Type Description
firstFragment bool
lastFragment bool
fragmentNumber int -1 means unspecified
numFragments int -1 means unspecified

Source code

class FragmentTag extends TagBase
{
    bool firstFragment = true;
    bool lastFragment = true;
    int fragmentNumber = 0; // -1 means unspecified
    int numFragments = 1;   // -1 means unspecified
}
File: src/inet/protocolelement/fragmentation/tag/FragmentTag.msg