Packet BaseRpcMessage

File: src/common/CommonMessages.msg

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.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends:

BaseOverlayMessage (packet)

Base class for all messages handled by overlay modules

Known subclasses:

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

type int

message type

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
}