Compound Module XmlRpcInterfaceModules

Package: oversim.tier3.xmlrpcinterface
File: src/tier3/xmlrpcinterface/XmlRpcInterface.ned

Compound module for the XML-RPC interface

Author: Ingmar Baumgart

XmlRpcInterface

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
from_lowerTier input

gate from the lower tier

from_upperTier input

gate from the upper tier

udpIn input

gate from the UDP layer

tcpIn input

gate from the TCP layer

tcpOut output

gate to the TCP layer

to_lowerTier output

gate to the lower tier

to_upperTier output

gate to the upper tier

udpOut output

gate to the UDP layer

Unassigned submodule parameters:

Name Type Default value Description
xmlRpcInterface.rpcUdpTimeout double

default timeout value for direct RPCs

xmlRpcInterface.rpcKeyTimeout double

default timeout value for routed RPCs

xmlRpcInterface.optimizeTimeouts bool

calculate timeouts from measured RTTs and network coordinates

xmlRpcInterface.rpcExponentialBackoff bool

if true, doubles the timeout for every retransmission

xmlRpcInterface.debugOutput bool

enable debug output

xmlRpcInterface.activeNetwInitPhase bool

is app active in network init phase?

xmlRpcInterface.limitAccess bool

limit access to some methods (e.g. join()) to localhost applications

xmlRpcInterface.mtu int

maximum transmission unit

xmlRpcInterface.parser string

name of the parser used

Source code:

//
// Compound module for the XML-RPC interface
//
// @author Ingmar Baumgart
//
module XmlRpcInterfaceModules like ITier
{
    gates:
        input from_lowerTier;    // gate from the lower tier
        input from_upperTier;    // gate from the upper tier
        input udpIn;   // gate from the UDP layer
        input tcpIn;             // gate from the TCP layer
        output tcpOut;           // gate to the TCP layer
        output to_lowerTier;    // gate to the lower tier
        output to_upperTier;    // gate to the upper tier
        output udpOut;    // gate to the UDP layer

    submodules:
        xmlRpcInterface: XmlRpcInterface;
    connections allowunconnected:
        from_lowerTier --> xmlRpcInterface.from_lowerTier;
        to_lowerTier <-- xmlRpcInterface.to_lowerTier;
}