Base module for simple RPC communication
Author: Sebastien Mies, Ingmar Baumgart, Bernhard Heep, Gregoire Menuel
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.
Name | Type | Description |
---|---|---|
BaseApp | simple module |
Base class for application implementations |
BaseOverlay | simple module |
Base class for overlay implementations |
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 |
// // 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 }