Message SearchResponseMessage

File: src/overlay/gia/GiaMessage.msg

Search response message

Author: Robert Palmer

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends:

GiaIDMessage (message)

A GiaMessage extended by an unique ID-Field

Author: Robert Palmer

Fields:

Name Type Description
destKey OverlayKey

destination key, may be undefined

searchKey OverlayKey

searched key

reversePath OverlayKey[]

vector containing all remaining nodes which the search message passed

type int

message type

srcNode NodeHandle

source node

foundNode GiaNode

this node contains the searched key

hopCount int

hop count, increased by BaseOverlay

srcDegree int

neighbor count of source node

statType int

message type for stats

searchHopCount int

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

ID OverlayKey

unique message id

command int

COMMAND-Field

srcCapacity double

capacity of source node

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
}