RandomQosClassifier
Package: inet.linklayer.common
RandomQosClassifier
simple moduleA QoS classifier that assigns a random User Priority. This is useful for testing purposes.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
| Name | Type | Description |
|---|---|---|
| SimpleModule | simple module |
Base module for all INET simple modules. |
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
Properties
| Name | Value | Description |
|---|---|---|
| class | RandomQosClassifier | |
| display | i=block/classifier |
Gates
| Name | Direction | Size | Description |
|---|---|---|---|
| in | input | ||
| out | output |
Source code
// // A QoS classifier that assigns a random User Priority. This is useful // for testing purposes. // simple RandomQosClassifier extends SimpleModule like IIeee8021dQosClassifier { parameters: @class(RandomQosClassifier); @display("i=block/classifier"); gates: input in; output out; }File: src/inet/linklayer/common/RandomQosClassifier.ned