Packet NotifyResponse

File: src/overlay/chord/ChordMessage.msg

Message used to answer to a NotifyCall message

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:

BaseResponseMessage (packet)

A basic Remote-Procedure-Response message

Fields:

Name Type Description
srcNode NodeHandle

source node

sucDBNodeSet bool
coords double[]
sucNum int

number of entries in the successor list

statType int

message type for stats

error double
nonce unsigned int

nonce to match RPC responses to corresponding calls

preNodeSet bool

indicates if the dest node has been set as new predecessor (for merging)

sucNode NodeHandle[]

successor list of the message originator

type int

message type

preNode NodeHandle

in aggressiveJoinMode: predecessor hint

Source code:

//
// Message used to answer to a NotifyCall message
//
packet NotifyResponse extends BaseResponseMessage
{
    int sucNum;    // number of entries in the successor list
    bool sucDBNodeSet;
    NodeHandle sucNode[];    // successor list of the message originator
    NodeHandle preNode;    // in aggressiveJoinMode: predecessor hint
    bool preNodeSet; // indicates if the dest node has been set as new predecessor (for merging)
}