Compound Module SimpleOverlayHost

File: Underlay/SimpleUnderlay/SimpleOverlayHost.ned

(no description)

notificationBoard: NotificationBoard app: overlayAppType like OverlayApp overlay: overlayType like Overlay udp: SimpleUDP interfaceTable: InterfaceTable

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.

Overlay (no description)
OverlayApp (no description)
SimpleUDP

UDP protocol implementation, for IPv4 and IPv6.

NotificationBoard (unknown -- not in documented files)
InterfaceTable (unknown -- not in documented files)

Parameters:

Name Type Description
IPForward bool
overlayType string
overlayAppType string
routingFile string

Gates:

Name Direction Description
overlayNeighborArrowIn [ ] input

incoming gate for visualizing overlay neighborship with connection arrows

overlayNeighborArrowOut [ ] output

incoming gate for visualizing overlay neighborship with connection arrows

Unassigned submodule parameters:

Name Type Description
udp.constantDelay numeric

constant delay between two peers

udp.useCoordinateBasedDelay bool

delay should be calculated from euklidean distance between two peers

Source code:

module SimpleOverlayHost
    parameters:
        IPForward : bool,
	overlayType : string,
	overlayAppType : string,
        routingFile : string;

    gates:
        in: overlayNeighborArrowIn[];    // incoming gate for visualizing overlay neighborship with connection arrows
        out: overlayNeighborArrowOut[];  // incoming gate for visualizing overlay neighborship with connection arrows

    submodules:
	notificationBoard: NotificationBoard;
	    display: "p=60,80;i=block/control";

	app: overlayAppType like OverlayApp;
	    display: "p=250,10;i=block/segm";

	overlay: overlayType like Overlay
	    display: "p=250,80;i=block/network2";

        udp: SimpleUDP;
            display: "p=250,150;i=block/transport";

	interfaceTable: InterfaceTable;
            display: "p=60,150;i=block/table";

    connections nocheck:
	app.to_overlay --> overlay.from_app;
	app.from_overlay <-- overlay.to_app;

	overlay.to_udp --> udp.from_app++;
	overlay.from_udp <-- udp.to_app++;

endmodule