Packet BaseRpcMessage

File: src/common/CommonMessages.msg

C++ definition

A basic Remote-Procedure-Call message used for calls and return values

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
BaseOverlayMessage packet

Base class for all messages handled by overlay modules

Known subclasses:

Name Type Description
BaseCallMessage packet

A basic Remote-Procedure-Call message

BaseResponseMessage packet

A basic Remote-Procedure-Response message

RpcTimeoutMessage packet

The RPC Timeout self-message

Fields:

Name Type Description
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:

//
// A basic Remote-Procedure-Call message used for calls and return values
//
packet BaseRpcMessage extends BaseOverlayMessage
{
    unsigned int nonce;  // nonce to match RPC responses to corresponding calls
    NodeHandle srcNode;  // source node
    AuthBlock authBlock[] @sizetype(uint8_t); // optional authentication block containing a signature
}