File Applications/i3/OverlayI3.ned

Contains:

import "I3", "TriggerTable";

// Container for I3 module and trigger table
// @author Antonio Zea
module OverlayI3
    parameters:
        debugOutput: bool;

        gates:
        
        in: from_udp;    // gate from the UDP layer
        in: from_lowerTier;    // gate from the lower tier
        in: from_upperTier;    // gate from the upper tier
        out: to_udp;    // gate to the UDP layer
        out: to_lowerTier;    // gate to the lower tier
        out: to_upperTier;    // gate to the upper tier

    submodules:
        i3: I3;
        triggerTable: TriggerTable;
            display: "i=block/table";

    connections nocheck:
        from_udp --> i3.from_udp;
        to_udp <-- i3.to_udp;
        from_lowerTier --> i3.from_lowerTier;
        to_lowerTier <-- i3.to_lowerTier;
        from_upperTier --> i3.from_upperTier;
        to_upperTier <-- i3.to_upperTier;
endmodule