Class OverlayCtrlInfo

File: src/common/CommonMessages.msg

C++ definition

Control info for internal handling BaseOverlayMessages.

Author: Bernhard Heep

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.

Fields:

Name Type Description
lastHop TransportAddress

last hop node

srcNode NodeHandle

the message's source node IP/port/nodeID

srcRoute NodeHandle

like srcNode, but contains the source route to the destination (if available)

hopCount int

hop count

visitedHops TransportAddress[]

hops on route

srcComp int

source component

destComp int

destination component

transportType int

transport type of the received message

routingType int

Source code:

//
// Control info for internal handling BaseOverlayMessages.
//
// @author Bernhard Heep
//
class OverlayCtrlInfo
{
    TransportAddress lastHop;    // last hop node
    NodeHandle srcNode;          // the message's source node IP/port/nodeID
    NodeHandle srcRoute;         // like srcNode, but contains the source route to the destination (if available) 
    int hopCount = 0;            // hop count
    TransportAddress visitedHops[];     // hops on route
    int srcComp @enum(CompType);  // source component
    int destComp @enum(CompType); // destination component
    int transportType @enum(TransportType) = INVALID_TRANSPORT; // transport type of the received message
    int routingType @enum(RoutingType);
}