IPacketMarker

Package: inet.queueing.contract

IPacketMarker

module interface

This module interface is implemented by packet marker modules. A packet marker connects one input to one output. It can operate in both active and passive mode. Packets can be pushed into its input or packets can be pulled from its output. When processing a packet, a marker attaches some information (such as a label) to the packet based on the data and meta data it contains. The packets are processed individually.

Inheritance diagram

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

Implemented by

Name Type Description
ContentBasedLabeler simple module

This module attaches various request labels to packets.

ContentBasedTagger simple module

This module attaches various request tags to packets.

PacketLabeler simple module

This module attaches a LabelsTag to packets based on the configured filters. For each matching filter a new label is attached.

PacketTagger simple module

This module attaches various request tags to packets.

Extends

Name Type Description
IPacketFlow module interface

This module interface is implemented by packet flows. A packet flow connects one input to one output. It can operate in both active and passive mode. Packets can be pushed into its input or packets can be pulled from its output. Packets are never dropped but the contents and/or attached meta information may be altered.

Properties

Name Value Description
display i=block/star
omittedTypename OmittedPacketFlow

Source code

//
// This module interface is implemented by packet marker modules. A packet marker
// connects one input to one output. It can operate in both active and passive
// mode. Packets can be pushed into its input or packets can be pulled from its
// output. When processing a packet, a marker attaches some information (such as
// a label) to the packet based on the data and meta data it contains. The packets
// are processed individually.
//
moduleinterface IPacketMarker extends IPacketFlow
{
    parameters:
        @display("i=block/star");
}
File: src/inet/queueing/contract/IPacketMarker.ned