Simple Module BaseRpc

Package: oversim.common
File: src/common/BaseRpc.ned

C++ definition

Base module for simple RPC communication

Author: Sebastien Mies, Ingmar Baumgart, Bernhard Heep, Gregoire Menuel

BaseRpc

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.

Known subclasses:

Name Type Description
BaseApp simple module

Base class for application implementations

BaseOverlay simple module

Base class for overlay implementations

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

Source code:

//
// Base module for simple RPC communication
//
// @author Sebastien Mies, Ingmar Baumgart, Bernhard Heep, Gregoire Menuel
//
simple BaseRpc
{
    parameters:
        double rpcUdpTimeout @unit(s); // default timeout value for direct RPCs
        double rpcKeyTimeout @unit(s); // default timeout value for routed RPCs
        bool optimizeTimeouts;        // calculate timeouts from measured RTTs
                                       // and network coordinates
        bool rpcExponentialBackoff;    // if true, doubles the timeout for
                                       // every retransmission
}