Compound Module P2PNSTestAppModules

Package: oversim.tier3.p2pnstestapp
File: src/tier3/p2pnstestapp/P2PNSTestApp.ned

Compound module for a simple DHT test application

Author: Ingmar Baumgart

P2PNSTestApp

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.

Gates:

Name Direction Size Description
from_lowerTier input

gate from the lower tier

from_upperTier input

gate from the upper tier

udpIn input

gate from the UDP layer

trace_in input

gate for trace file commands

to_lowerTier output

gate to the lower tier

to_upperTier output

gate to the upper tier

udpOut output

gate to the UDP layer

Unassigned submodule parameters:

Name Type Default value Description
p2pnsTestApp.debugOutput bool

enable debug output

p2pnsTestApp.messageDelay double

time interval between sending test messages

p2pnsTestApp.activeNetwInitPhase bool

send messages when network is in init phase?

Source code:

//
// Compound module for a simple DHT test application
//
// @author Ingmar Baumgart
//
module P2PNSTestAppModules
{
    gates:
        input from_lowerTier;    // gate from the lower tier
        input from_upperTier;    // gate from the upper tier
        input udpIn;    // gate from the UDP layer
        input trace_in;    // gate for trace file commands
        output to_lowerTier;    // gate to the lower tier
        output to_upperTier;    // gate to the upper tier
        output udpOut;    // gate to the UDP layer

    submodules:
        p2pnsTestApp: P2PNSTestApp;
    connections allowunconnected:
        from_lowerTier --> p2pnsTestApp.from_lowerTier;
        to_lowerTier <-- p2pnsTestApp.to_lowerTier;
        trace_in --> p2pnsTestApp.trace_in;
}