Packet VastMessage

File: src/overlay/vast/Vast.msg

C++ definition

Base message for all messages used by Vast JOIN_REQUEST, ENCLOSING_NEIGHBORS_REQUEST, PING, PONG

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

DISCARD_NODE

VastEventMessage packet

FIXME: Length definition

VastListMessage packet

JOIN_ACKNOWLEDGE, NEW_NEIGHBORS, NODE_LEAVE, BACKUP_NEIGHBORS

VastMoveMessage packet

NODE_MOVE

Fields:

Name Type Description
command int
sourceNode NodeHandle
destKey OverlayKey
pos Vector2D
neighborCount int
type int

message type

statType int

message type for stats

Source code:

//
// Base message for all messages used by Vast
// JOIN_REQUEST, ENCLOSING_NEIGHBORS_REQUEST, PING, PONG
//
packet VastMessage extends BaseOverlayMessage
{
    int command @enum(VASTCommand);
    NodeHandle sourceNode;
    OverlayKey destKey;
    Vector2D pos;
    int neighborCount;
}