Compound Module OverlayPubSubLobby

Package: oversim.overlay.pubsubmmog
File: src/overlay/pubsubmmog/PubSubLobby.ned

(no description)

PubSubLobby

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

tcpIn input

gate from the TCP layer

tcpOut output

gate to the TCP layer

appIn input

gate from the application

appOut output

gate to the application

Unassigned submodule parameters:

Name Type Default value Description
pubSubLobby.rpcUdpTimeout double

default timeout value for direct RPCs

pubSubLobby.rpcKeyTimeout double

default timeout value for routed RPCs

pubSubLobby.optimizeTimeouts bool

calculate timeouts from measured RTTs and network coordinates

pubSubLobby.rpcExponentialBackoff bool

if true, doubles the timeout for every retransmission

pubSubLobby.localPort int

UDP port for overlay messages

pubSubLobby.overlayId int

identifies the overlay this node belongs to (used for multiple overlays)

pubSubLobby.debugOutput bool

enable debug output

pubSubLobby.keyLength int

overlay key length in bits

pubSubLobby.nodeId string

optional nodeId as string in hexadecimal notation

pubSubLobby.useCommonAPIforward bool

enable CommonAPI forward() calls

pubSubLobby.drawOverlayTopology bool

draw arrow to successor node?

pubSubLobby.hopCountMax int

maximum number of overlay hops

pubSubLobby.recNumRedundantNodes int

numRedundantNodes for recursive routing

pubSubLobby.joinOnApplicationRequest bool

only join the overlay on application request

pubSubLobby.collectPerHopDelay bool

delay statistics for single hops

pubSubLobby.routeMsgAcks bool

use RPCs for route messages

pubSubLobby.lookupRedundantNodes int

number of next hops in each step

pubSubLobby.lookupParallelPaths int

number of parallel paths

pubSubLobby.lookupParallelRpcs int

number of nodes to ask in parallel

pubSubLobby.lookupVerifySiblings bool

true, if siblings need to be authenticated with a ping

pubSubLobby.lookupMajoritySiblings bool

true, if sibling candidates are selected by a majority decision if using parallel paths

pubSubLobby.lookupMerge bool

true, if parallel Rpc results should be merged

pubSubLobby.lookupFailedNodeRpcs bool

communicate failed nodes

pubSubLobby.lookupStrictParallelRpcs bool

limited the number of concurrent rpcs to parameter parallelRpcs

pubSubLobby.lookupUseAllParallelResponses bool

merge all parallel responses from earlier steps

pubSubLobby.lookupNewRpcOnEveryTimeout bool

send a new RPC immediately after an RPC timeouts

pubSubLobby.lookupNewRpcOnEveryResponse bool

send a new RPC after every response, even if there was no progress

pubSubLobby.lookupFinishOnFirstUnchanged bool

finish lookup, if the last pending RPC returned without progress

pubSubLobby.lookupVisitOnlyOnce bool

if true, the same node is never asked twice during a single lookup

pubSubLobby.lookupAcceptLateSiblings bool

if true, a FindNodeResponse with sibling flag set is always accepted, even if it is from a previous lookup step

pubSubLobby.routingType string

default routing mode (iterative, semi-recursive,...)

pubSubLobby.rejoinOnFailure bool

rejoin after loosing connection to the overlay?

pubSubLobby.sendRpcResponseToLastHop bool

needed by KBR protocols for NAT support

pubSubLobby.recordRoute bool

record visited hops on route

pubSubLobby.dropFindNodeAttack bool

if node is malicious, it tries a findNode attack

pubSubLobby.isSiblingAttack bool

if node is malicious, it tries a isSibling attack

pubSubLobby.invalidNodesAttack bool

if node is malicious, it tries a invalidNode attack

pubSubLobby.dropRouteMessageAttack bool

if node is malicious, it drops all received BaseRouteMessages

pubSubLobby.measureAuthBlock bool

if true, measure the overhead of signatures in rpc messages

pubSubLobby.restoreContext bool

if true, a node rejoins with its old nodeId and malicious state

pubSubLobby.areaDimension double

size of the play filed

pubSubLobby.numSubspaces int

number of regions in each direction

Source code:

module OverlayPubSubLobby like IOverlay
{
    gates:
        input udpIn; // gate from the UDP layer
        output udpOut; // gate to the UDP layer
        input tcpIn;    // gate from the TCP layer
        output tcpOut;    // gate to the TCP layer
        input appIn; // gate from the application
        output appOut; // gate to the application

    submodules:
        pubSubLobby: PubSubLobby {
            parameters:
                @display("p=60,60");

        }
    connections allowunconnected:
        udpIn --> pubSubLobby.udpIn;
        udpOut <-- pubSubLobby.udpOut;
        appIn --> pubSubLobby.appIn;
        appOut <-- pubSubLobby.appOut;
}