Simple Module RealworldApp

File: Underlay/SingleHostUnderlay/RealworldApp.ned

C++ definition: click here

Applicaton that communicates with a realworld application via a socket

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.

Parameters:

Name Type Description
mtu numeric

maximum transmission unit of the underlaying network

parser string

name of the PacketParser to use

Gates:

Name Direction Description
from_udp input
from_lowerTier input
from_upperTier input

incoming gates from udp, the lower tier an from the upper tier

to_udp output
to_lowerTier output
to_upperTier output

outgoing gates to udp, the lower tier and to the upper tier

Source code:

simple RealworldApp
    parameters:
	mtu: numeric, // maximum transmission unit of the underlaying network
	parser: string; // name of the PacketParser to use

    gates:
        in: from_udp, from_lowerTier, from_upperTier; // incoming gates from udp, the lower tier an from the upper tier
        out: to_udp, to_lowerTier, to_upperTier; // outgoing gates to udp, the lower tier and to the upper tier
endsimple