Simple Module RealworldApp

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

C++ definition

Applicaton that communicates with a realworld application via a socket

RealworldApp

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.

Parameters:

Name Type Default value Description
mtu int

maximum transmission unit of the underlaying network

parser string

name of the PacketParser to use

Gates:

Name Direction Size Description
udpIn input
from_lowerTier input
from_upperTier input

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

udpOut output
to_lowerTier output
to_upperTier output

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

Source code:

//
// Applicaton that communicates with a realworld application via a socket
//
simple RealworldApp
{
    parameters:
        int mtu;    // maximum transmission unit of the underlaying network
        string parser;    // name of the PacketParser to use

    gates:
        input udpIn;
        input from_lowerTier;
        input from_upperTier;    // incoming gates from udp, the lower tier and from the upper tier
        output udpOut;
        output to_lowerTier;
        output to_upperTier;    // outgoing gates to udp, the lower tier and to the upper tier
}