Packet P2pnsRegisterResponse

File: src/common/CommonMessages.msg

P2PNS Register RPC Response

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:

BaseResponseMessage (packet)

A basic Remote-Procedure-Response message

Fields:

Name Type Description
srcNode NodeHandle

source node

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

address BinaryValue

the current address of the name

p2pName BinaryValue

the name to register

callHopCount int
isSuccess bool

true, if the name was successfully registered

type int

message type

ncsInfo double[]

info block for network coordinate systems

Source code:

//
// P2PNS Register RPC Response
//
// @author Ingmar Baumgart
//
packet P2pnsRegisterResponse extends BaseResponseMessage
{
    BinaryValue p2pName;  // the name to register
    BinaryValue address;  // the current address of the name
    bool isSuccess;       // true, if the name was successfully registered
}