Message GiaMessage

File: Overlay/Gia/GiaMessage.msg

Main GIA-Message definition

Author: Robert Palmer

Inheritance diagram:

The following diagram shows part of the inheritance hierarchy. Unresolved types are missing from the diagram. Click here to see the full picture.

Extends:

BaseOverlayMessage

Base class for all messages handled by overlay modules

Known subclasses:

GiaNeighborMessage (no description)
TokenMessage

Used for sending a token to a destination node

Author: Robert Palmer

GiaIDMessage

A GiaMessage extended by an unique ID-Field

Author: Robert Palmer

KeyListMessage

Send a keylist to a neighbor node

Author: Robert Palmer

Fields:

Name Type Description
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

Source code:

message GiaMessage extends BaseOverlayMessage
{
   fields:
       NodeHandle srcNode;    // source node
       int hopCount = 0;    // hop count, increased by BaseOverlay
       int command enum(GIACommand);    // COMMAND-Field
       double srcCapacity;    // capacity of source node
       int srcDegree;    // neighbor count of source node
};