eyes-of-a-trader/types/helpers/NotificationSendHelper.d.ts

13 lines
598 B
TypeScript
Raw Normal View History

2023-01-15 09:44:31 +11:00
import { INotification } from "../models/eft/notifier/INotifier";
import { WebSocketServer } from "../servers/WebSocketServer";
import { NotificationService } from "../services/NotificationService";
export declare class NotificationSendHelper {
protected webSocketServer: WebSocketServer;
protected notificationService: NotificationService;
constructor(webSocketServer: WebSocketServer, notificationService: NotificationService);
/**
2023-02-13 20:05:30 +11:00
* Send notification message to the appropriate channel
2023-01-15 09:44:31 +11:00
*/
sendMessage(sessionID: string, notificationMessage: INotification): void;
}