Compound Module GIASearchAppModules

File: Applications/GIASearchApp/GIASearchApp.ned

Compound module for a search application using the GIA search interface

Author: Bernhard Heep

giaSearchApp: GIASearchApp

Usage diagram:

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.

Contains the following modules:

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

GIASearchApp

Test application for testing GIA search-protocol

Parameters:

Name Type Description
debugOutput bool
activeNetwInitPhase bool

Gates:

Name Direction Description
from_udp input
from_lowerTier input
from_upperTier input
to_udp output
to_lowerTier output
to_upperTier output

Unassigned submodule parameters:

Name Type Description
giaSearchApp.messageDelay numeric

interval for sending route or search messages

giaSearchApp.randomNodes bool

use random destination nodes or only nodes from BootstrapOracle

giaSearchApp.maximumKeys numeric

maximum number of keys for this application

giaSearchApp.maxResponses numeric

maximum number of responses per search message

Source code:

module GIASearchAppModules
    parameters:
	debugOutput : bool,
	activeNetwInitPhase : bool;
    
    gates:
        in: from_udp, from_lowerTier, from_upperTier;
        out: to_udp, to_lowerTier, to_upperTier;

    submodules:
	giaSearchApp: GIASearchApp;
	    parameters:
		debugOutput = debugOutput,
		activeNetwInitPhase = activeNetwInitPhase;
	    display: "i=block/app";

    connections nocheck:
        from_lowerTier --> giaSearchApp.from_lowerTier;
        to_lowerTier <-- giaSearchApp.to_lowerTier;
endmodule