Search message
Author: Robert Palmer
The following diagram shows usage relationships between types.
Unresolved types are missing from the diagram.
The following diagram shows inheritance relationships for this type.
Unresolved types are missing from the diagram.
GiaIDMessage (message) |
A GiaMessage extended by an unique ID-Field Author: Robert Palmer |
Name | Type | Description |
---|---|---|
destKey | OverlayKey |
destination key, may be undefined |
searchKey | OverlayKey |
searched key |
reversePath | OverlayKey[] |
vector containing all nodes which this search message passes |
type | int |
message type |
srcNode | NodeHandle |
source node |
foundNode | OverlayKey[] |
vector containing all nodes which contain the searched key |
hopCount | int |
hop count, increased by BaseOverlay |
srcDegree | int |
neighbor count of source node |
statType | int |
message type for stats |
maxResponses | int |
maximum responses to this search message |
ID | OverlayKey |
unique message id |
command | int |
COMMAND-Field |
srcCapacity | double |
capacity of source node |
// // Search message // @author Robert Palmer // message SearchMessage extends GiaIDMessage { OverlayKey searchKey; // searched key int maxResponses; // maximum responses to this search message OverlayKey reversePath[]; // vector containing all nodes which this search message passes OverlayKey foundNode[]; // vector containing all nodes which contain the searched key }