Packet P2pnsResolveResponse

File: src/common/CommonMessages.msg

C++ definition

P2PNS Resolve RPC Response

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:

Name Type Description
BaseResponseMessage packet

A basic Remote-Procedure-Response message

Fields:

Name Type Description
p2pName BinaryValue

the name to resolve

address BinaryValue[]

the current address of the name

kind uint32_t[]
id uint32_t[]
isSuccess bool

true, if the name was successfully resolved

callHopCount int
ncsInfo double[]

info block for network coordinate systems

nonce unsigned int

nonce to match RPC responses to corresponding calls

srcNode NodeHandle

source node

authBlock AuthBlock[]

optional authentication block containing a signature

type int

message type

statType int

message type for stats

Source code:

//
// P2PNS Resolve RPC Response
//
// @author Ingmar Baumgart
//
packet P2pnsResolveResponse extends BaseResponseMessage
{
    BinaryValue p2pName;  // the name to resolve
    BinaryValue address[];  // the current address of the name
    uint32_t kind[];
    uint32_t id[];
    bool isSuccess;       // true, if the name was successfully resolved
}