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 popped 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.

IPacketMarker

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
IPacketSource module interface

This module interface is implemented by packet source modules which are both active and passive simultaneously.

IPacketSink module interface

This module interface is implemented by packet sink modules which are both passive and active simultaneously.

Properties

Name Value Description
display i=block/sink

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 popped 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 IPacketSink, IPacketSource
{
    parameters:
        @display("i=block/star");
}
File: src/inet/queueing/contract/IPacketMarker.ned