TrafficConditionerLayer

Package: inet.protocolelement.trafficconditioner

TrafficConditionerLayer

compound module

(no description)

egressConditioner : like ITrafficConditioner

ITrafficConditioner: This module interface is implemented by traffic conditioner modules.

Source:
egressConditioner: <default("")> like ITrafficConditioner {
    @display("p=100,100");
} ingressConditioner : like ITrafficConditioner

ITrafficConditioner: This module interface is implemented by traffic conditioner modules.

Source:
ingressConditioner: <default("")> like ITrafficConditioner {
    @display("p=300,100");
}

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.

Parameters

Name Type Default value Description
interfaceTableModule string

Properties

Name Value Description
display i=block/layer

Gates

Name Direction Size Description
upperLayerIn input
upperLayerOut output
lowerLayerIn input
lowerLayerOut output

Source code

module TrafficConditionerLayer like ITrafficConditionerLayer
{
    parameters:
        @display("i=block/layer");
        string interfaceTableModule;
        *.interfaceTableModule = default(absPath(this.interfaceTableModule));
    gates:
        input upperLayerIn;
        output upperLayerOut;
        input lowerLayerIn;
        output lowerLayerOut;
    submodules:
        egressConditioner: <default("")> like ITrafficConditioner {
            @display("p=100,100");
        }
        ingressConditioner: <default("")> like ITrafficConditioner {
            @display("p=300,100");
        }
    connections:
        upperLayerIn --> { @display("m=n"); } --> ingressConditioner.in;
        ingressConditioner.out --> { @display("m=s"); } --> lowerLayerOut;

        lowerLayerIn --> { @display("m=s"); } --> egressConditioner.in;
        egressConditioner.out --> { @display("m=n"); } --> upperLayerOut;
}

File: src/inet/protocolelement/trafficconditioner/TrafficConditionerLayer.ned