Simple Module P2PNSTestApp

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

C++ definition

Simple module of the P2PNS 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.

Used in compound modules:

If a module type shows up more than once, that means it has been defined in more than one NED file.

P2PNSTestAppModules (compound module)

Compound module for a simple DHT test application

Parameters:

Name Type Default value Description
debugOutput bool

enable debug output

messageDelay double

time interval between sending test messages

activeNetwInitPhase bool

send messages when network is in init phase?

Properties:

Name Value Description
display i=block/app

Gates:

Name Direction Size Description
from_lowerTier input

gate from the lower tier

direct_in input

gate for sendDirect

trace_in input

gate for trace file commands

to_lowerTier output

gate to the lower tier

Source code:

//
// Simple module of the P2PNS test application
//
// @author Ingmar Baumgart
//
simple P2PNSTestApp
{
    parameters:
        bool debugOutput;    // enable debug output
        double messageDelay @unit(s);    // time interval between sending test messages
        bool activeNetwInitPhase;    // send messages when network is in init phase?
        @display("i=block/app");

    gates:
        input from_lowerTier;    // gate from the lower tier
        input direct_in;    // gate for sendDirect
        input trace_in;    // gate for trace file commands
        output to_lowerTier;    // gate to the lower tier
}