ProtocolListTagBase

ProtocolListTagBase

class

C++ definition

This is an abstract base class that should not be directly added as a tag.

Usage diagram

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

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.

Known subclasses

Name Type Description
EncapsulationProtocolInd class

This indication determines the original protocol encapsulation order of the packet. If this tag is attached to the packet, then the protocols specify the order of encapsulation as it seen by the protocol modules when the packet was processed and decapsulated.

EncapsulationProtocolReq class

This request determines the expected protocol encapsulation order of the packet. If this tag is attached to a packet, then the first encapsulation protocol specifies the next dispatch protocol. Otherwise the individual protocol modules are expected to request dispatching to their default following encapsulation protocol.

Fields

Name Type Description
protocol Protocol[]

specifies a list of protocols (internal class with an artificial identifier)

Source code

//
// This is an abstract base class that should not be directly added as a tag.
//
class ProtocolListTagBase extends TagBase
{
    const Protocol *protocol[]; // specifies a list of protocols (internal class with an artificial identifier)
}

File: src/inet/common/ProtocolTag.msg