Main GIA-Message definition
Author: Robert Palmer
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.
Name | Type | Description |
---|---|---|
BaseOverlayMessage | packet |
Base class for all messages handled by overlay modules |
Name | Type | Description |
---|---|---|
GiaIDMessage | message |
A GiaMessage extended by an unique ID-Field Author: Robert Palmer |
GiaNeighborMessage | message | (no description) |
KeyListMessage | message |
Send a keylist to a neighbor node Author: Robert Palmer |
TokenMessage | message |
Used for sending a token to a destination node Author: Robert Palmer |
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 |
type | int |
message type |
statType | int |
message type for stats |
// // Main GIA-Message definition // @author Robert Palmer // message GiaMessage extends BaseOverlayMessage { 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 }