Simple Module GIASearchApp

File: Applications/GIASearchApp/GIASearchApp.ned

C++ definition: click here

Test application for testing GIA search-protocol

Author: Robert Palmer, Bernhard Heep

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.

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.

GIASearchAppModules

Compound module for a search application using the GIA search interface

Parameters:

Name Type Description
debugOutput bool

use debug output?

messageDelay numeric

interval for sending route or search messages

randomNodes bool

use random destination nodes or only nodes from BootstrapOracle

maximumKeys numeric

maximum number of keys for this application

maxResponses numeric

maximum number of responses per search message

activeNetwInitPhase bool

send messages when network is in init phase?

Gates:

Name Direction Description
from_lowerTier input
direct_in input

gate from overlay

trace_in input

gate for trace file commands

to_lowerTier output

gate to overlay

Source code:

simple GIASearchApp
    parameters:
        debugOutput : bool,    // use debug output?
        messageDelay : numeric,    // interval for sending route or search messages
        randomNodes : bool,    // use random destination nodes or only nodes from BootstrapOracle
        maximumKeys : numeric,    // maximum number of keys for this application
        maxResponses : numeric,    // maximum number of responses per search message
        activeNetwInitPhase : bool;    // send messages when network is in init phase?
    
    gates:
        in: from_lowerTier, direct_in;    // gate from overlay
        in: trace_in;    // gate for trace file commands
        out: to_lowerTier;    // gate to overlay
endsimple