File: Tier2/DHTTestApp/DHTTestApp.ned
C++ definition: click here
Simple module of the DHT test application
Author: Bernhard Heep, Ingmar Baumgart
The following diagram shows usage relationships between modules, networks and channels. Unresolved module (and channel) types are missing from the diagram. Click here to see the full picture.
If a module type shows up more than once, that means it has been defined in more than one NED file.
DHTTestAppModules | Compound module for a simple DHT test application |
Name | Type | Description |
---|---|---|
debugOutput | bool | enable debug output |
testInterval | numeric | time interval for DHT operations (put/get/modify) |
testTtl | numeric | TTL for stored test records |
activeNetwInitPhase | bool | send messages when network is in init phase? |
Name | Direction | 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 |
simple DHTTestApp parameters: debugOutput : bool, // enable debug output testInterval : numeric, // time interval for DHT operations (put/get/modify) testTtl : numeric, // TTL for stored test records activeNetwInitPhase : bool; // send messages when network is in init phase? gates: in: from_lowerTier; // gate from the lower tier in: direct_in; // gate for sendDirect in: trace_in; // gate for trace file commands out: to_lowerTier; // gate to the lower tier endsimple