File Applications/Scribe/Scribe.ned

Contains:

simple Scribe
    parameters:
        debugOutput: bool, // if debug output should be enabled
        childTimeout: numeric, //seconds until a node assumes that a particular child has failed
        parentTimeout: numeric; //seconds until a node assumes that a particular parent has failed
    gates:
        in: from_udp, from_lowerTier, from_upperTier, direct_in;
        out: to_udp, to_lowerTier, to_upperTier;
endsimple

module MulticastScribe
    gates:
        in: from_udp, from_lowerTier, from_upperTier;
        out: to_udp, to_lowerTier, to_upperTier;

    submodules:
        scribe: Scribe;
    
    connections nocheck:
        from_lowerTier --> scribe.from_lowerTier;
        to_lowerTier <-- scribe.to_lowerTier;
        from_upperTier --> scribe.from_upperTier;
        to_upperTier <-- scribe.to_upperTier;
        from_udp --> scribe.from_udp;
        to_udp <-- scribe.to_udp;

endmodule