Class OverlayCtrlInfo

File: src/common/CommonMessages.msg

Control info for internal handling BaseOverlaMessages.

Author: Bernhard Heep

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Fields:

Name Type Description
srcNode NodeHandle

the message's source node IP/port/nodeID

hopCount int

hop count

srcComp int

source component

destComp int

destination component

visitedHops TransportAddress[]

hops on route

lastHop TransportAddress

last hop node

srcRoute NodeHandle

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

transportType int

transport type of the received message

routingType int

Source code:

//
// Control info for internal handling BaseOverlaMessages.
//
// @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);
}