Packet P2pnsResolveCall

File: src/common/CommonMessages.msg

P2PNS Resolve RPC Call

Author: Ingmar Baumgart

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:

BaseCallMessage (packet)

A basic Remote-Procedure-Call message

Fields:

Name Type Description
srcNode NodeHandle

source node

id uint32_t

the id of the name

statType int

message type for stats

authBlock AuthBlock[]

optional authentication block containing a signature

nonce unsigned int

nonce to match RPC responses to corresponding calls

p2pName BinaryValue

the name to resolve

type int

message type

kind uint32_t

the kind of the name

Source code:

//
// P2PNS Resolve RPC Call
//
// @author Ingmar Baumgart
//
packet P2pnsResolveCall extends BaseCallMessage
{
    BinaryValue p2pName;    // the name to resolve
    uint32_t kind = 1; // the kind of the name
    uint32_t id = 1; // the id of the name 
}