Base message for all messages used by Vast JOIN_REQUEST, ENCLOSING_NEIGHBORS_REQUEST, PING, PONG
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.
Name | Type | Description |
---|---|---|
BaseOverlayMessage | packet |
Base class for all messages handled by overlay modules |
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 |
Name | Type | Description |
---|---|---|
command | int | |
sourceNode | NodeHandle | |
destKey | OverlayKey | |
pos | Vector2D | |
neighborCount | int | |
type | int |
message type |
statType | int |
message type for stats |
// // 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; }