fixparser
Version:
FIX.Latest / 5.0 SP2 Parser / AI Agent Trading
15 lines (14 loc) • 880 B
TypeScript
import type { IMessageStore } from 'fixparser-common';
import type { IFIXParser } from '../IFIXParser.ts';
import type { Message } from '../message/Message.ts';
/**
* Handles the ResendRequest message in a FIX session.
* This function processes the ResendRequest message, retrieves the requested messages
* from the message store, and resends them with appropriate flags and timestamps.
* If messages are not found, it sends a SequenceReset message to fill the gap.
*
* @param {IFIXParser} parser - The FIX parser instance handling the session
* @param {IMessageStore<Message>} messageStore - The message store containing the messages to resend
* @param {Message} message - The ResendRequest message containing the sequence range to resend
*/
export declare const handleResendRequest: (parser: IFIXParser, messageStore: IMessageStore<Message>, message: Message) => void;