UNPKG

hamok

Version:

Lightweight Distributed Object Storage on RAFT consensus algorithm

19 lines (18 loc) 582 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.HelloNotification = void 0; class HelloNotification { sourcePeerId; destinationPeerId; raftLeaderId; customData; requestId; constructor(sourcePeerId, destinationPeerId, raftLeaderId, customData, requestId) { this.sourcePeerId = sourcePeerId; this.destinationPeerId = destinationPeerId; this.raftLeaderId = raftLeaderId; this.customData = customData; this.requestId = requestId; } } exports.HelloNotification = HelloNotification;