Message SearchMessage

File: src/overlay/gia/GiaMessage.msg

C++ definition

Search message

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
GiaIDMessage message

A GiaMessage extended by an unique ID-Field

Author: Robert Palmer

Fields:

Name Type Description
searchKey OverlayKey

searched key

maxResponses int

maximum responses to this search message

reversePath OverlayKey[]

vector containing all nodes which this search message passes

foundNode OverlayKey[]

vector containing all nodes which contain the searched key

destKey OverlayKey

destination key, may be undefined

ID OverlayKey

unique message id

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:

//
// 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
}