Message SearchResponseMessage

File: src/overlay/gia/GiaMessage.msg

C++ definition

Search response 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

reversePath OverlayKey[]

vector containing all remaining nodes which the search message passed

foundNode GiaNode

this node contains the searched key

searchHopCount int

how many hops from foundNode to the originator of the search message were necessary

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 response message 
// @author Robert Palmer
//
message SearchResponseMessage extends GiaIDMessage
{
    OverlayKey searchKey;	    // searched key
    OverlayKey reversePath[];    // vector containing all remaining nodes which the search message passed
    GiaNode foundNode;    // this node contains the searched key
    int searchHopCount;    // how many hops from foundNode to the originator of the search message were necessary
}