Packet DHTputCAPICall

File: src/common/CommonMessages.msg

Message type to store value at the keys root

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:

BaseCallMessage (packet)

A basic Remote-Procedure-Call message

Fields:

Name Type Description
srcNode NodeHandle

source node

statType int

message type for stats

nonce unsigned int

nonce to match RPC responses to corresponding calls

isModifiable bool
value BinaryValue

value that has to be stored on keys root

type int

message type

ttl int

time to life

key OverlayKey

overlayKey that corresponds with value

Source code:

//
// Message type to store value at the keys root
//
// @author Ingmar Baumgart
//
packet DHTputCAPICall extends BaseCallMessage
{
    OverlayKey key; // overlayKey that corresponds with value
    BinaryValue value; // value that has to be stored on keys root
    int ttl; // time to life
    bool isModifiable;
}