Update types

This commit is contained in:
Dev 2024-05-04 20:40:43 +01:00
parent 2b69963163
commit ff6fd48e6b
24 changed files with 72 additions and 0 deletions

View File

@ -21,8 +21,11 @@ export declare class WebSocketServer {
constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper);
protected httpConfig: IHttpConfig; protected httpConfig: IHttpConfig;
protected defaultNotification: INotification; protected defaultNotification: INotification;
protected webSocketServer: WebSocket.Server;
protected webSockets: Record<string, WebSocket.WebSocket>; protected webSockets: Record<string, WebSocket.WebSocket>;
protected websocketPingHandler: any; protected websocketPingHandler: any;
getWebSocketServer(): WebSocket.Server;
getSessionWebSocket(sessionID: string): WebSocket.WebSocket;
setupWebSocket(httpServer: http.Server): void; setupWebSocket(httpServer: http.Server): void;
sendMessage(sessionID: string, output: INotification): void; sendMessage(sessionID: string, output: INotification): void;
protected getRandomisedMessage(): string; protected getRandomisedMessage(): string;

View File

@ -21,8 +21,11 @@ export declare class WebSocketServer {
constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper);
protected httpConfig: IHttpConfig; protected httpConfig: IHttpConfig;
protected defaultNotification: INotification; protected defaultNotification: INotification;
protected webSocketServer: WebSocket.Server;
protected webSockets: Record<string, WebSocket.WebSocket>; protected webSockets: Record<string, WebSocket.WebSocket>;
protected websocketPingHandler: any; protected websocketPingHandler: any;
getWebSocketServer(): WebSocket.Server;
getSessionWebSocket(sessionID: string): WebSocket.WebSocket;
setupWebSocket(httpServer: http.Server): void; setupWebSocket(httpServer: http.Server): void;
sendMessage(sessionID: string, output: INotification): void; sendMessage(sessionID: string, output: INotification): void;
protected getRandomisedMessage(): string; protected getRandomisedMessage(): string;

View File

@ -21,8 +21,11 @@ export declare class WebSocketServer {
constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper);
protected httpConfig: IHttpConfig; protected httpConfig: IHttpConfig;
protected defaultNotification: INotification; protected defaultNotification: INotification;
protected webSocketServer: WebSocket.Server;
protected webSockets: Record<string, WebSocket.WebSocket>; protected webSockets: Record<string, WebSocket.WebSocket>;
protected websocketPingHandler: any; protected websocketPingHandler: any;
getWebSocketServer(): WebSocket.Server;
getSessionWebSocket(sessionID: string): WebSocket.WebSocket;
setupWebSocket(httpServer: http.Server): void; setupWebSocket(httpServer: http.Server): void;
sendMessage(sessionID: string, output: INotification): void; sendMessage(sessionID: string, output: INotification): void;
protected getRandomisedMessage(): string; protected getRandomisedMessage(): string;

View File

@ -21,8 +21,11 @@ export declare class WebSocketServer {
constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper);
protected httpConfig: IHttpConfig; protected httpConfig: IHttpConfig;
protected defaultNotification: INotification; protected defaultNotification: INotification;
protected webSocketServer: WebSocket.Server;
protected webSockets: Record<string, WebSocket.WebSocket>; protected webSockets: Record<string, WebSocket.WebSocket>;
protected websocketPingHandler: any; protected websocketPingHandler: any;
getWebSocketServer(): WebSocket.Server;
getSessionWebSocket(sessionID: string): WebSocket.WebSocket;
setupWebSocket(httpServer: http.Server): void; setupWebSocket(httpServer: http.Server): void;
sendMessage(sessionID: string, output: INotification): void; sendMessage(sessionID: string, output: INotification): void;
protected getRandomisedMessage(): string; protected getRandomisedMessage(): string;

View File

@ -21,8 +21,11 @@ export declare class WebSocketServer {
constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper);
protected httpConfig: IHttpConfig; protected httpConfig: IHttpConfig;
protected defaultNotification: INotification; protected defaultNotification: INotification;
protected webSocketServer: WebSocket.Server;
protected webSockets: Record<string, WebSocket.WebSocket>; protected webSockets: Record<string, WebSocket.WebSocket>;
protected websocketPingHandler: any; protected websocketPingHandler: any;
getWebSocketServer(): WebSocket.Server;
getSessionWebSocket(sessionID: string): WebSocket.WebSocket;
setupWebSocket(httpServer: http.Server): void; setupWebSocket(httpServer: http.Server): void;
sendMessage(sessionID: string, output: INotification): void; sendMessage(sessionID: string, output: INotification): void;
protected getRandomisedMessage(): string; protected getRandomisedMessage(): string;

View File

@ -21,8 +21,11 @@ export declare class WebSocketServer {
constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper);
protected httpConfig: IHttpConfig; protected httpConfig: IHttpConfig;
protected defaultNotification: INotification; protected defaultNotification: INotification;
protected webSocketServer: WebSocket.Server;
protected webSockets: Record<string, WebSocket.WebSocket>; protected webSockets: Record<string, WebSocket.WebSocket>;
protected websocketPingHandler: any; protected websocketPingHandler: any;
getWebSocketServer(): WebSocket.Server;
getSessionWebSocket(sessionID: string): WebSocket.WebSocket;
setupWebSocket(httpServer: http.Server): void; setupWebSocket(httpServer: http.Server): void;
sendMessage(sessionID: string, output: INotification): void; sendMessage(sessionID: string, output: INotification): void;
protected getRandomisedMessage(): string; protected getRandomisedMessage(): string;

View File

@ -21,8 +21,11 @@ export declare class WebSocketServer {
constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper);
protected httpConfig: IHttpConfig; protected httpConfig: IHttpConfig;
protected defaultNotification: INotification; protected defaultNotification: INotification;
protected webSocketServer: WebSocket.Server;
protected webSockets: Record<string, WebSocket.WebSocket>; protected webSockets: Record<string, WebSocket.WebSocket>;
protected websocketPingHandler: any; protected websocketPingHandler: any;
getWebSocketServer(): WebSocket.Server;
getSessionWebSocket(sessionID: string): WebSocket.WebSocket;
setupWebSocket(httpServer: http.Server): void; setupWebSocket(httpServer: http.Server): void;
sendMessage(sessionID: string, output: INotification): void; sendMessage(sessionID: string, output: INotification): void;
protected getRandomisedMessage(): string; protected getRandomisedMessage(): string;

View File

@ -21,8 +21,11 @@ export declare class WebSocketServer {
constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper);
protected httpConfig: IHttpConfig; protected httpConfig: IHttpConfig;
protected defaultNotification: INotification; protected defaultNotification: INotification;
protected webSocketServer: WebSocket.Server;
protected webSockets: Record<string, WebSocket.WebSocket>; protected webSockets: Record<string, WebSocket.WebSocket>;
protected websocketPingHandler: any; protected websocketPingHandler: any;
getWebSocketServer(): WebSocket.Server;
getSessionWebSocket(sessionID: string): WebSocket.WebSocket;
setupWebSocket(httpServer: http.Server): void; setupWebSocket(httpServer: http.Server): void;
sendMessage(sessionID: string, output: INotification): void; sendMessage(sessionID: string, output: INotification): void;
protected getRandomisedMessage(): string; protected getRandomisedMessage(): string;

View File

@ -21,8 +21,11 @@ export declare class WebSocketServer {
constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper);
protected httpConfig: IHttpConfig; protected httpConfig: IHttpConfig;
protected defaultNotification: INotification; protected defaultNotification: INotification;
protected webSocketServer: WebSocket.Server;
protected webSockets: Record<string, WebSocket.WebSocket>; protected webSockets: Record<string, WebSocket.WebSocket>;
protected websocketPingHandler: any; protected websocketPingHandler: any;
getWebSocketServer(): WebSocket.Server;
getSessionWebSocket(sessionID: string): WebSocket.WebSocket;
setupWebSocket(httpServer: http.Server): void; setupWebSocket(httpServer: http.Server): void;
sendMessage(sessionID: string, output: INotification): void; sendMessage(sessionID: string, output: INotification): void;
protected getRandomisedMessage(): string; protected getRandomisedMessage(): string;

View File

@ -21,8 +21,11 @@ export declare class WebSocketServer {
constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper);
protected httpConfig: IHttpConfig; protected httpConfig: IHttpConfig;
protected defaultNotification: INotification; protected defaultNotification: INotification;
protected webSocketServer: WebSocket.Server;
protected webSockets: Record<string, WebSocket.WebSocket>; protected webSockets: Record<string, WebSocket.WebSocket>;
protected websocketPingHandler: any; protected websocketPingHandler: any;
getWebSocketServer(): WebSocket.Server;
getSessionWebSocket(sessionID: string): WebSocket.WebSocket;
setupWebSocket(httpServer: http.Server): void; setupWebSocket(httpServer: http.Server): void;
sendMessage(sessionID: string, output: INotification): void; sendMessage(sessionID: string, output: INotification): void;
protected getRandomisedMessage(): string; protected getRandomisedMessage(): string;

View File

@ -21,8 +21,11 @@ export declare class WebSocketServer {
constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper);
protected httpConfig: IHttpConfig; protected httpConfig: IHttpConfig;
protected defaultNotification: INotification; protected defaultNotification: INotification;
protected webSocketServer: WebSocket.Server;
protected webSockets: Record<string, WebSocket.WebSocket>; protected webSockets: Record<string, WebSocket.WebSocket>;
protected websocketPingHandler: any; protected websocketPingHandler: any;
getWebSocketServer(): WebSocket.Server;
getSessionWebSocket(sessionID: string): WebSocket.WebSocket;
setupWebSocket(httpServer: http.Server): void; setupWebSocket(httpServer: http.Server): void;
sendMessage(sessionID: string, output: INotification): void; sendMessage(sessionID: string, output: INotification): void;
protected getRandomisedMessage(): string; protected getRandomisedMessage(): string;

View File

@ -21,8 +21,11 @@ export declare class WebSocketServer {
constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper);
protected httpConfig: IHttpConfig; protected httpConfig: IHttpConfig;
protected defaultNotification: INotification; protected defaultNotification: INotification;
protected webSocketServer: WebSocket.Server;
protected webSockets: Record<string, WebSocket.WebSocket>; protected webSockets: Record<string, WebSocket.WebSocket>;
protected websocketPingHandler: any; protected websocketPingHandler: any;
getWebSocketServer(): WebSocket.Server;
getSessionWebSocket(sessionID: string): WebSocket.WebSocket;
setupWebSocket(httpServer: http.Server): void; setupWebSocket(httpServer: http.Server): void;
sendMessage(sessionID: string, output: INotification): void; sendMessage(sessionID: string, output: INotification): void;
protected getRandomisedMessage(): string; protected getRandomisedMessage(): string;

View File

@ -21,8 +21,11 @@ export declare class WebSocketServer {
constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper);
protected httpConfig: IHttpConfig; protected httpConfig: IHttpConfig;
protected defaultNotification: INotification; protected defaultNotification: INotification;
protected webSocketServer: WebSocket.Server;
protected webSockets: Record<string, WebSocket.WebSocket>; protected webSockets: Record<string, WebSocket.WebSocket>;
protected websocketPingHandler: any; protected websocketPingHandler: any;
getWebSocketServer(): WebSocket.Server;
getSessionWebSocket(sessionID: string): WebSocket.WebSocket;
setupWebSocket(httpServer: http.Server): void; setupWebSocket(httpServer: http.Server): void;
sendMessage(sessionID: string, output: INotification): void; sendMessage(sessionID: string, output: INotification): void;
protected getRandomisedMessage(): string; protected getRandomisedMessage(): string;

View File

@ -21,8 +21,11 @@ export declare class WebSocketServer {
constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper);
protected httpConfig: IHttpConfig; protected httpConfig: IHttpConfig;
protected defaultNotification: INotification; protected defaultNotification: INotification;
protected webSocketServer: WebSocket.Server;
protected webSockets: Record<string, WebSocket.WebSocket>; protected webSockets: Record<string, WebSocket.WebSocket>;
protected websocketPingHandler: any; protected websocketPingHandler: any;
getWebSocketServer(): WebSocket.Server;
getSessionWebSocket(sessionID: string): WebSocket.WebSocket;
setupWebSocket(httpServer: http.Server): void; setupWebSocket(httpServer: http.Server): void;
sendMessage(sessionID: string, output: INotification): void; sendMessage(sessionID: string, output: INotification): void;
protected getRandomisedMessage(): string; protected getRandomisedMessage(): string;

View File

@ -21,8 +21,11 @@ export declare class WebSocketServer {
constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper);
protected httpConfig: IHttpConfig; protected httpConfig: IHttpConfig;
protected defaultNotification: INotification; protected defaultNotification: INotification;
protected webSocketServer: WebSocket.Server;
protected webSockets: Record<string, WebSocket.WebSocket>; protected webSockets: Record<string, WebSocket.WebSocket>;
protected websocketPingHandler: any; protected websocketPingHandler: any;
getWebSocketServer(): WebSocket.Server;
getSessionWebSocket(sessionID: string): WebSocket.WebSocket;
setupWebSocket(httpServer: http.Server): void; setupWebSocket(httpServer: http.Server): void;
sendMessage(sessionID: string, output: INotification): void; sendMessage(sessionID: string, output: INotification): void;
protected getRandomisedMessage(): string; protected getRandomisedMessage(): string;

View File

@ -21,8 +21,11 @@ export declare class WebSocketServer {
constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper);
protected httpConfig: IHttpConfig; protected httpConfig: IHttpConfig;
protected defaultNotification: INotification; protected defaultNotification: INotification;
protected webSocketServer: WebSocket.Server;
protected webSockets: Record<string, WebSocket.WebSocket>; protected webSockets: Record<string, WebSocket.WebSocket>;
protected websocketPingHandler: any; protected websocketPingHandler: any;
getWebSocketServer(): WebSocket.Server;
getSessionWebSocket(sessionID: string): WebSocket.WebSocket;
setupWebSocket(httpServer: http.Server): void; setupWebSocket(httpServer: http.Server): void;
sendMessage(sessionID: string, output: INotification): void; sendMessage(sessionID: string, output: INotification): void;
protected getRandomisedMessage(): string; protected getRandomisedMessage(): string;

View File

@ -21,8 +21,11 @@ export declare class WebSocketServer {
constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper);
protected httpConfig: IHttpConfig; protected httpConfig: IHttpConfig;
protected defaultNotification: INotification; protected defaultNotification: INotification;
protected webSocketServer: WebSocket.Server;
protected webSockets: Record<string, WebSocket.WebSocket>; protected webSockets: Record<string, WebSocket.WebSocket>;
protected websocketPingHandler: any; protected websocketPingHandler: any;
getWebSocketServer(): WebSocket.Server;
getSessionWebSocket(sessionID: string): WebSocket.WebSocket;
setupWebSocket(httpServer: http.Server): void; setupWebSocket(httpServer: http.Server): void;
sendMessage(sessionID: string, output: INotification): void; sendMessage(sessionID: string, output: INotification): void;
protected getRandomisedMessage(): string; protected getRandomisedMessage(): string;

View File

@ -21,8 +21,11 @@ export declare class WebSocketServer {
constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper);
protected httpConfig: IHttpConfig; protected httpConfig: IHttpConfig;
protected defaultNotification: INotification; protected defaultNotification: INotification;
protected webSocketServer: WebSocket.Server;
protected webSockets: Record<string, WebSocket.WebSocket>; protected webSockets: Record<string, WebSocket.WebSocket>;
protected websocketPingHandler: any; protected websocketPingHandler: any;
getWebSocketServer(): WebSocket.Server;
getSessionWebSocket(sessionID: string): WebSocket.WebSocket;
setupWebSocket(httpServer: http.Server): void; setupWebSocket(httpServer: http.Server): void;
sendMessage(sessionID: string, output: INotification): void; sendMessage(sessionID: string, output: INotification): void;
protected getRandomisedMessage(): string; protected getRandomisedMessage(): string;

View File

@ -21,8 +21,11 @@ export declare class WebSocketServer {
constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper);
protected httpConfig: IHttpConfig; protected httpConfig: IHttpConfig;
protected defaultNotification: INotification; protected defaultNotification: INotification;
protected webSocketServer: WebSocket.Server;
protected webSockets: Record<string, WebSocket.WebSocket>; protected webSockets: Record<string, WebSocket.WebSocket>;
protected websocketPingHandler: any; protected websocketPingHandler: any;
getWebSocketServer(): WebSocket.Server;
getSessionWebSocket(sessionID: string): WebSocket.WebSocket;
setupWebSocket(httpServer: http.Server): void; setupWebSocket(httpServer: http.Server): void;
sendMessage(sessionID: string, output: INotification): void; sendMessage(sessionID: string, output: INotification): void;
protected getRandomisedMessage(): string; protected getRandomisedMessage(): string;

View File

@ -21,8 +21,11 @@ export declare class WebSocketServer {
constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper);
protected httpConfig: IHttpConfig; protected httpConfig: IHttpConfig;
protected defaultNotification: INotification; protected defaultNotification: INotification;
protected webSocketServer: WebSocket.Server;
protected webSockets: Record<string, WebSocket.WebSocket>; protected webSockets: Record<string, WebSocket.WebSocket>;
protected websocketPingHandler: any; protected websocketPingHandler: any;
getWebSocketServer(): WebSocket.Server;
getSessionWebSocket(sessionID: string): WebSocket.WebSocket;
setupWebSocket(httpServer: http.Server): void; setupWebSocket(httpServer: http.Server): void;
sendMessage(sessionID: string, output: INotification): void; sendMessage(sessionID: string, output: INotification): void;
protected getRandomisedMessage(): string; protected getRandomisedMessage(): string;

View File

@ -21,8 +21,11 @@ export declare class WebSocketServer {
constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper);
protected httpConfig: IHttpConfig; protected httpConfig: IHttpConfig;
protected defaultNotification: INotification; protected defaultNotification: INotification;
protected webSocketServer: WebSocket.Server;
protected webSockets: Record<string, WebSocket.WebSocket>; protected webSockets: Record<string, WebSocket.WebSocket>;
protected websocketPingHandler: any; protected websocketPingHandler: any;
getWebSocketServer(): WebSocket.Server;
getSessionWebSocket(sessionID: string): WebSocket.WebSocket;
setupWebSocket(httpServer: http.Server): void; setupWebSocket(httpServer: http.Server): void;
sendMessage(sessionID: string, output: INotification): void; sendMessage(sessionID: string, output: INotification): void;
protected getRandomisedMessage(): string; protected getRandomisedMessage(): string;

View File

@ -21,8 +21,11 @@ export declare class WebSocketServer {
constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper);
protected httpConfig: IHttpConfig; protected httpConfig: IHttpConfig;
protected defaultNotification: INotification; protected defaultNotification: INotification;
protected webSocketServer: WebSocket.Server;
protected webSockets: Record<string, WebSocket.WebSocket>; protected webSockets: Record<string, WebSocket.WebSocket>;
protected websocketPingHandler: any; protected websocketPingHandler: any;
getWebSocketServer(): WebSocket.Server;
getSessionWebSocket(sessionID: string): WebSocket.WebSocket;
setupWebSocket(httpServer: http.Server): void; setupWebSocket(httpServer: http.Server): void;
sendMessage(sessionID: string, output: INotification): void; sendMessage(sessionID: string, output: INotification): void;
protected getRandomisedMessage(): string; protected getRandomisedMessage(): string;

View File

@ -21,8 +21,11 @@ export declare class WebSocketServer {
constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper);
protected httpConfig: IHttpConfig; protected httpConfig: IHttpConfig;
protected defaultNotification: INotification; protected defaultNotification: INotification;
protected webSocketServer: WebSocket.Server;
protected webSockets: Record<string, WebSocket.WebSocket>; protected webSockets: Record<string, WebSocket.WebSocket>;
protected websocketPingHandler: any; protected websocketPingHandler: any;
getWebSocketServer(): WebSocket.Server;
getSessionWebSocket(sessionID: string): WebSocket.WebSocket;
setupWebSocket(httpServer: http.Server): void; setupWebSocket(httpServer: http.Server): void;
sendMessage(sessionID: string, output: INotification): void; sendMessage(sessionID: string, output: INotification): void;
protected getRandomisedMessage(): string; protected getRandomisedMessage(): string;

View File

@ -21,8 +21,11 @@ export declare class WebSocketServer {
constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper);
protected httpConfig: IHttpConfig; protected httpConfig: IHttpConfig;
protected defaultNotification: INotification; protected defaultNotification: INotification;
protected webSocketServer: WebSocket.Server;
protected webSockets: Record<string, WebSocket.WebSocket>; protected webSockets: Record<string, WebSocket.WebSocket>;
protected websocketPingHandler: any; protected websocketPingHandler: any;
getWebSocketServer(): WebSocket.Server;
getSessionWebSocket(sessionID: string): WebSocket.WebSocket;
setupWebSocket(httpServer: http.Server): void; setupWebSocket(httpServer: http.Server): void;
sendMessage(sessionID: string, output: INotification): void; sendMessage(sessionID: string, output: INotification): void;
protected getRandomisedMessage(): string; protected getRandomisedMessage(): string;