@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.
16 lines (15 loc) • 576 B
TypeScript
export declare class RoomManager {
private readonly logger;
private readonly rooms;
private readonly sessionRooms;
join(roomId: string, sessionId: string): void;
leave(roomId: string, sessionId: string): void;
leaveAllRooms(sessionId: string): void;
getSessionsInRoom(roomId: string): string[];
getSessionRooms(sessionId: string): string[];
isInRoom(roomId: string, sessionId: string): boolean;
private initializeRoomIfNeeded;
private initializeSessionRoomsIfNeeded;
private removeFromRoom;
private removeRoomFromSession;
}