Packet LookupResponse

File: src/common/CommonMessages.msg

Internal RPC response from overlay containing lookup results

Author: Ingmar Baumgart

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:

BaseResponseMessage (packet)

A basic Remote-Procedure-Response message

Fields:

Name Type Description
srcNode NodeHandle

source node

coords double[]
statType int

message type for stats

error double
nonce unsigned int

nonce to match RPC responses to corresponding calls

type int

message type

siblings NodeHandle[]

set of siblings

isValid bool
key OverlayKey

Source code:

//
// Internal RPC response from overlay containing lookup results
// @author Ingmar Baumgart
//
packet LookupResponse extends BaseResponseMessage
{
    OverlayKey key;
    bool isValid;
    NodeHandle siblings[]; // set of siblings
}