Compound Module TCPExampleAppModules

Package: oversim.applications.tcpexampleapp
File: src/applications/tcpexampleapp/TCPExampleApp.ned

(no description)

TCPExampleApp

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.

Gates:

Name Direction Size Description
udpIn input

gate from the UDP layer

udpOut output

gate to the UDP layer

from_lowerTier input

gate from the lower tier

from_upperTier input

gate from the upper tier

to_lowerTier output

gate to the lower tier

to_upperTier output

gate to the upper tier

trace_in input

gate for trace file commands

tcpIn input

gate from the TCP layer

tcpOut output

gate to the TCP layer

Unassigned submodule parameters:

Name Type Default value Description
application.rpcUdpTimeout double

default timeout value for direct RPCs

application.rpcKeyTimeout double

default timeout value for routed RPCs

application.optimizeTimeouts bool

calculate timeouts from measured RTTs and network coordinates

application.rpcExponentialBackoff bool

if true, doubles the timeout for every retransmission

application.debugOutput bool

enable debug output

application.sendPeriod int 30s

how much time to wait between sending packets

application.numToSend int 0

how many packets will we send at the same time?

application.largestKey int 10

largest key we can pick

Source code:

module TCPExampleAppModules like ITier
{
    gates:
        input udpIn;             // gate from the UDP layer
        output udpOut;           // gate to the UDP layer
        input from_lowerTier;    // gate from the lower tier
        input from_upperTier;    // gate from the upper tier
        output to_lowerTier;     // gate to the lower tier
        output to_upperTier;     // gate to the upper tier
        input trace_in;          // gate for trace file commands
        input tcpIn;             // gate from the TCP layer
        output tcpOut;           // gate to the TCP layer

    submodules:
        application: TCPExampleApp;
    connections allowunconnected:
        from_lowerTier --> application.from_lowerTier;
        to_lowerTier <-- application.to_lowerTier;
        udpIn --> application.udpIn;
        udpOut <-- application.udpOut;
        tcpIn --> application.tcpIn;
        tcpOut <-- application.tcpOut;
        trace_in --> application.trace_in;
}