Simple Module SimMud

Package: oversim.tier2.simmud
File: src/tier2/simmud/SimMud.ned

C++ definition

(no description)

SimMud

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.

Extends:

Name Type Description
BaseApp simple module

Base class for application implementations

Used in compound modules:

Name Type Description
SimMudModules compound module (no description)

Parameters:

Name Type Default value Description
rpcUdpTimeout double

default timeout value for direct RPCs

rpcKeyTimeout double

default timeout value for routed RPCs

optimizeTimeouts bool

calculate timeouts from measured RTTs and network coordinates

rpcExponentialBackoff bool

if true, doubles the timeout for every retransmission

debugOutput bool

enable debug output

playerTimeout double

time for checking for dead nodes

areaDimension double

size of the play filed

AOIWidth double

size of the area of interest

maxMoveDelay double

time after which a move message is considered to be too late

numSubspaces int

number of subspaces per direction

Properties:

Name Value Description
class SimMud
display i=block/app

Gates:

Name Direction Size Description
udpIn input

gate from the UDP layer

from_lowerTier input

gate from the lower tier

from_upperTier input

gate from the upper tier

direct_in input

gate for sendDirect

trace_in input

gate for trace file commands

tcpIn input

gate from the TCP layer

tcpOut output

gate to the TCP layer

udpOut output

gate to the UDP layer

to_lowerTier output

gate to the lower tier

to_upperTier output

gate to the upper tier

Source code:

simple SimMud extends BaseApp
{
    parameters:
        @class(SimMud);
        double playerTimeout @unit(s); // time for checking for dead nodes
        double areaDimension; // size of the play filed
        double AOIWidth;     // size of the area of interest
        double maxMoveDelay @unit(s); // time after which a move message is considered to be too late
        int numSubspaces; // number of subspaces per direction
}