@sotatech/nest-quickfix
Version:
A powerful NestJS implementation of the FIX (Financial Information eXchange) protocol. Provides high-performance, reliable messaging for financial trading applications with built-in session management, message validation, and recovery mechanisms.
15 lines • 565 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.HeartbeatMessage = void 0;
const message_1 = require("../../message/message");
const fields_1 = require("../../fields");
class HeartbeatMessage extends message_1.Message {
constructor(testReqID) {
super(new message_1.Field(fields_1.Fields.MsgType, fields_1.MsgType.Heartbeat));
if (testReqID) {
this.setField(fields_1.Fields.TestReqID, testReqID);
}
}
}
exports.HeartbeatMessage = HeartbeatMessage;
//# sourceMappingURL=heartbeat.js.map