Simple Module ZeroconfConnector

Package: oversim.underlay.singlehostunderlay
File: src/underlay/singlehostunderlay/ZeroconfConnector.ned

C++ definition

Module for retrieving bootstrap nodes via Zeroconf (AVAHI connector)

Author: Bin Zheng, Ingmar Baumgart

ZeroconfConnector

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

Networks:

Name Type Description
SingleHostUnderlayNetwork network

The SingleHostUnderlay ned-file

See also: SingleHostUnderlayConfigurator

Parameters:

Name Type Default value Description
enableZeroconf bool

if true, get bootstrap nodes via Zeroconf

serviceType string

Zeroconf service type

serviceName string

Zeroconf service name

overlayType string

Zeroconf overlay type

overlayName string

Zeroconf overlay name

Properties:

Name Value Description
display i=block/cogwheel

Source code:

//
// Module for retrieving bootstrap nodes via Zeroconf (AVAHI connector)
//
// @author Bin Zheng, Ingmar Baumgart
//
simple ZeroconfConnector
{
    parameters:
        bool enableZeroconf;  // if true, get bootstrap nodes via Zeroconf
        string serviceType;   // Zeroconf service type
        string serviceName;   // Zeroconf service name
        string overlayType;   // Zeroconf overlay type
        string overlayName;   // Zeroconf overlay name
        @display("i=block/cogwheel");
}