File Overlay/Gia/Gia.ned

Contains:

//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
//

// The main module of the GIA implementation
// @author Robert Palmer
simple Gia
    parameters:
		localPort : numeric, 			// local UDP Port for overlay
		debugOutput : bool, 			// output debug messages?
		maxNeighbors : numeric, 		// maximum number of neighbors
		minNeighbors : numeric, 		// minimum number of neighbors
		maxTopAdaptionInterval : numeric, 	// maximum topology adaption interval
		topAdaptionAggressiveness : numeric, 	// topology adaption aggressiveness
		maxLevelOfSatisfaction : numeric, 	// maximum level of satisfaction
		maxHopCount : numeric, 			// maximum TTL for sent messages
		messageTimeout : numeric, 		// message timeout
		neighborTimeout : numeric, 		// neighbor timeout
		tokenWaitTime : numeric, 		// delay when sending new token
		keyListDelay : numeric, 		// delay when sending new key list to our neighbors
		updateDelay : numeric, 			// delay between two update messages
		outputNodeDetails : bool, 		// output node details
		optimizeReversePath : bool, 		// use optimized reverse path?
                useBaseLookup : bool,			// use the base lookup class
                iterativeLookup : bool, 		// do iterative instead of recursive lookups
                lookupNumberNextHops : numeric,
                lookupParallelPaths : numeric,
                lookupParallelRpcs : numeric,
                lookupSecure : bool,
                lookupMerge : bool,
		measureNetwInitPhase : bool,
		hopCountMax : numeric,
		drawOverlayTopology : numeric,
		keyLength : numeric;
    
    gates:
        in: from_udp[];					// gate from UDP
        out: to_udp[];					// gate to UDP
	in: from_app;					// gate from application
	out: to_app;					// gate to application
endsimple