Packet BucketResponse

File: src/overlay/broose/BrooseMessage.msg

response message to a BucketCall

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

bucketIndex int

the index of the bucket

bucketType int

identifies the type of the bucket

coords double[]
statType int

message type for stats

error double
nonce unsigned int

nonce to match RPC responses to corresponding calls

nodeNum int

number of nodes in the bucket

nodes NodeHandle[]

array of nodes in the bucket

proState int

the protocol overlay state

type int

message type

Source code:

//
// response message to a BucketCall 
//
packet BucketResponse extends BaseResponseMessage
{
    int bucketType enum(BucketType);    // identifies the type of the bucket
    int bucketIndex;    // the index of the bucket
    int nodeNum;    // number of nodes in the bucket
    NodeHandle nodes[];    // array of nodes in the bucket
    int proState enum(ProState);    // the protocol overlay state

}