Message TokenMessage

File: src/overlay/gia/GiaMessage.msg

C++ definition

Used for sending a token to a destination node

Author: Robert Palmer

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.

Extends:

Name Type Description
GiaMessage message

Main GIA-Message definition

Author: Robert Palmer

Fields:

Name Type Description
srcTokenNr int

how many tokens received from destination node

dstTokenNr int

how many tokens sent to destination node

srcNode NodeHandle

source node

hopCount int

hop count, increased by BaseOverlay

command int

COMMAND-Field

srcCapacity double

capacity of source node

srcDegree int

neighbor count of source node

type int

message type

statType int

message type for stats

Source code:

//
// Used for sending a token to a destination node
// @author Robert Palmer
//
message TokenMessage extends GiaMessage
{
    int srcTokenNr;    // how many tokens received from destination node
    int dstTokenNr;    // how many tokens sent to destination node
}