Compound module for a search application using the GIA search interface
Author: Bernhard Heep
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 |
---|---|---|---|
udpIn | input |
gate from the UDP layer |
|
from_lowerTier | input |
gate from the lower tier |
|
from_upperTier | input |
gate from the upper tier |
|
trace_in | input |
gate for trace file commands |
|
tcpIn | input |
gate from the TCP layer |
|
tcpOut | output |
gate to the TCP layer |
|
udpOut | output |
gate to the UDP layer |
|
to_lowerTier | output |
gate to the lower tier |
|
to_upperTier | output |
gate to the upper tier |
Name | Type | Default value | Description |
---|---|---|---|
giaSearchApp.rpcUdpTimeout | double |
default timeout value for direct RPCs |
|
giaSearchApp.rpcKeyTimeout | double |
default timeout value for routed RPCs |
|
giaSearchApp.optimizeTimeouts | bool |
calculate timeouts from measured RTTs and network coordinates |
|
giaSearchApp.rpcExponentialBackoff | bool |
if true, doubles the timeout for every retransmission |
|
giaSearchApp.debugOutput | bool |
enable debug output |
|
giaSearchApp.messageDelay | double |
interval for sending route or search messages |
|
giaSearchApp.randomNodes | bool |
use random destination nodes or only nodes from GlobalNodeList |
|
giaSearchApp.maximumKeys | int |
maximum number of keys for this application |
|
giaSearchApp.maxResponses | int |
maximum number of responses per search message |
|
giaSearchApp.activeNetwInitPhase | bool |
send messages when network is in init phase? |
// // Compound module for a search application using the GIA search interface // // @author Bernhard Heep // module GIASearchAppModules like ITier { gates: input udpIn; // gate from the UDP layer input from_lowerTier; // gate from the lower tier input from_upperTier; // gate from the upper tier input trace_in; // gate for trace file commands input tcpIn; // gate from the TCP layer output tcpOut; // gate to the TCP layer output udpOut; // gate to the UDP layer output to_lowerTier; // gate to the lower tier output to_upperTier; // gate to the upper tier submodules: giaSearchApp: GIASearchApp; connections allowunconnected: from_lowerTier --> giaSearchApp.from_lowerTier; to_lowerTier <-- giaSearchApp.to_lowerTier; trace_in --> giaSearchApp.trace_in; }