Compound module for a simple DHT test application
Author: Gregoire Menuel, Ingmar Baumgart
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.
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 |
|
tcpIn | input |
gate from the TCP layer |
|
tcpOut | output |
gate to the TCP layer |
|
to_lowerTier | output |
gate to the lower tier |
|
to_upperTier | output |
gate to the upper tier |
|
udpOut | output |
gate to the UDP layer |
Name | Type | Default value | Description |
---|---|---|---|
dhtTestApp.rpcUdpTimeout | double |
default timeout value for direct RPCs |
|
dhtTestApp.rpcKeyTimeout | double |
default timeout value for routed RPCs |
|
dhtTestApp.optimizeTimeouts | bool |
calculate timeouts from measured RTTs and network coordinates |
|
dhtTestApp.rpcExponentialBackoff | bool |
if true, doubles the timeout for every retransmission |
|
dhtTestApp.debugOutput | bool |
enable debug output |
|
dhtTestApp.testInterval | double |
time interval for DHT operations (put/get/modify) |
|
dhtTestApp.testTtl | int |
TTL for stored test records |
|
dhtTestApp.activeNetwInitPhase | bool |
send messages when network is in init phase? |
|
dhtTestApp.p2pnsTraffic | bool |
model p2pns application traffic |
// // Compound module for a simple DHT test application // // @author Gregoire Menuel, Ingmar Baumgart // module DHTTestAppModules like ITier { 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 input tcpIn; // gate from the TCP layer output tcpOut; // gate to the TCP layer output to_lowerTier; // gate to the lower tier output to_upperTier; // gate to the upper tier output udpOut; // gate to the UDP layer submodules: dhtTestApp: DHTTestApp; connections allowunconnected: from_lowerTier --> dhtTestApp.from_lowerTier; to_lowerTier <-- dhtTestApp.to_lowerTier; trace_in --> dhtTestApp.trace_in; }