Message TokenMessage

File: src/overlay/gia/GiaMessage.msg

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.

Inheritance diagram:

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

Extends:

GiaMessage (message)

Main GIA-Message definition

Author: Robert Palmer

Fields:

Name Type Description
srcNode NodeHandle

source node

hopCount int

hop count, increased by BaseOverlay

statType int

message type for stats

srcDegree int

neighbor count of source node

command int

COMMAND-Field

srcCapacity double

capacity of source node

srcTokenNr int

how many tokens received from destination node

dstTokenNr int

how many tokens sent to destination node

type int

message type

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
}