From ff6fd48e6bc892e2be4c33b264aa8a7b410953da Mon Sep 17 00:00:00 2001 From: Dev Date: Sat, 4 May 2024 20:40:43 +0100 Subject: [PATCH] Update types --- TypeScript/10ScopesAndTypes/types/servers/WebSocketServer.d.ts | 3 +++ .../11BundleLoadingSample/types/servers/WebSocketServer.d.ts | 3 +++ .../types/servers/WebSocketServer.d.ts | 3 +++ TypeScript/13AddTrader/types/servers/WebSocketServer.d.ts | 3 +++ .../14AfterDBLoadHook/types/servers/WebSocketServer.d.ts | 3 +++ .../15HttpListenerExample/types/servers/WebSocketServer.d.ts | 3 +++ TypeScript/16ImporterUtil/types/servers/WebSocketServer.d.ts | 3 +++ .../types/servers/WebSocketServer.d.ts | 3 +++ .../types/servers/WebSocketServer.d.ts | 3 +++ .../18CustomItemService/types/servers/WebSocketServer.d.ts | 3 +++ .../19UseExternalLibraries/types/servers/WebSocketServer.d.ts | 3 +++ TypeScript/1LogToConsole/types/servers/WebSocketServer.d.ts | 3 +++ TypeScript/20CustomChatBot/types/servers/WebSocketServer.d.ts | 3 +++ .../21CustomCommandoCommand/types/servers/WebSocketServer.d.ts | 3 +++ .../22CustomAkiCommand/types/servers/WebSocketServer.d.ts | 3 +++ TypeScript/2EditDatabase/types/servers/WebSocketServer.d.ts | 3 +++ .../3GetSptConfigFile/types/servers/WebSocketServer.d.ts | 3 +++ .../types/servers/WebSocketServer.d.ts | 3 +++ .../4UseACustomConfigFile/types/servers/WebSocketServer.d.ts | 3 +++ TypeScript/5ReplaceMethod/types/servers/WebSocketServer.d.ts | 3 +++ .../6ReferenceAnotherClass/types/servers/WebSocketServer.d.ts | 3 +++ TypeScript/7OnLoadHook/types/servers/WebSocketServer.d.ts | 3 +++ TypeScript/8OnUpdateHook/types/servers/WebSocketServer.d.ts | 3 +++ TypeScript/9RouterHooks/types/servers/WebSocketServer.d.ts | 3 +++ 24 files changed, 72 insertions(+) diff --git a/TypeScript/10ScopesAndTypes/types/servers/WebSocketServer.d.ts b/TypeScript/10ScopesAndTypes/types/servers/WebSocketServer.d.ts index 3fe89af..b73f22e 100644 --- a/TypeScript/10ScopesAndTypes/types/servers/WebSocketServer.d.ts +++ b/TypeScript/10ScopesAndTypes/types/servers/WebSocketServer.d.ts @@ -21,8 +21,11 @@ export declare class WebSocketServer { constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); protected httpConfig: IHttpConfig; protected defaultNotification: INotification; + protected webSocketServer: WebSocket.Server; protected webSockets: Record; protected websocketPingHandler: any; + getWebSocketServer(): WebSocket.Server; + getSessionWebSocket(sessionID: string): WebSocket.WebSocket; setupWebSocket(httpServer: http.Server): void; sendMessage(sessionID: string, output: INotification): void; protected getRandomisedMessage(): string; diff --git a/TypeScript/11BundleLoadingSample/types/servers/WebSocketServer.d.ts b/TypeScript/11BundleLoadingSample/types/servers/WebSocketServer.d.ts index 3fe89af..b73f22e 100644 --- a/TypeScript/11BundleLoadingSample/types/servers/WebSocketServer.d.ts +++ b/TypeScript/11BundleLoadingSample/types/servers/WebSocketServer.d.ts @@ -21,8 +21,11 @@ export declare class WebSocketServer { constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); protected httpConfig: IHttpConfig; protected defaultNotification: INotification; + protected webSocketServer: WebSocket.Server; protected webSockets: Record; protected websocketPingHandler: any; + getWebSocketServer(): WebSocket.Server; + getSessionWebSocket(sessionID: string): WebSocket.WebSocket; setupWebSocket(httpServer: http.Server): void; sendMessage(sessionID: string, output: INotification): void; protected getRandomisedMessage(): string; diff --git a/TypeScript/12ClassExtensionOverride/types/servers/WebSocketServer.d.ts b/TypeScript/12ClassExtensionOverride/types/servers/WebSocketServer.d.ts index 3fe89af..b73f22e 100644 --- a/TypeScript/12ClassExtensionOverride/types/servers/WebSocketServer.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/servers/WebSocketServer.d.ts @@ -21,8 +21,11 @@ export declare class WebSocketServer { constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); protected httpConfig: IHttpConfig; protected defaultNotification: INotification; + protected webSocketServer: WebSocket.Server; protected webSockets: Record; protected websocketPingHandler: any; + getWebSocketServer(): WebSocket.Server; + getSessionWebSocket(sessionID: string): WebSocket.WebSocket; setupWebSocket(httpServer: http.Server): void; sendMessage(sessionID: string, output: INotification): void; protected getRandomisedMessage(): string; diff --git a/TypeScript/13AddTrader/types/servers/WebSocketServer.d.ts b/TypeScript/13AddTrader/types/servers/WebSocketServer.d.ts index 3fe89af..b73f22e 100644 --- a/TypeScript/13AddTrader/types/servers/WebSocketServer.d.ts +++ b/TypeScript/13AddTrader/types/servers/WebSocketServer.d.ts @@ -21,8 +21,11 @@ export declare class WebSocketServer { constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); protected httpConfig: IHttpConfig; protected defaultNotification: INotification; + protected webSocketServer: WebSocket.Server; protected webSockets: Record; protected websocketPingHandler: any; + getWebSocketServer(): WebSocket.Server; + getSessionWebSocket(sessionID: string): WebSocket.WebSocket; setupWebSocket(httpServer: http.Server): void; sendMessage(sessionID: string, output: INotification): void; protected getRandomisedMessage(): string; diff --git a/TypeScript/14AfterDBLoadHook/types/servers/WebSocketServer.d.ts b/TypeScript/14AfterDBLoadHook/types/servers/WebSocketServer.d.ts index 3fe89af..b73f22e 100644 --- a/TypeScript/14AfterDBLoadHook/types/servers/WebSocketServer.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/servers/WebSocketServer.d.ts @@ -21,8 +21,11 @@ export declare class WebSocketServer { constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); protected httpConfig: IHttpConfig; protected defaultNotification: INotification; + protected webSocketServer: WebSocket.Server; protected webSockets: Record; protected websocketPingHandler: any; + getWebSocketServer(): WebSocket.Server; + getSessionWebSocket(sessionID: string): WebSocket.WebSocket; setupWebSocket(httpServer: http.Server): void; sendMessage(sessionID: string, output: INotification): void; protected getRandomisedMessage(): string; diff --git a/TypeScript/15HttpListenerExample/types/servers/WebSocketServer.d.ts b/TypeScript/15HttpListenerExample/types/servers/WebSocketServer.d.ts index 3fe89af..b73f22e 100644 --- a/TypeScript/15HttpListenerExample/types/servers/WebSocketServer.d.ts +++ b/TypeScript/15HttpListenerExample/types/servers/WebSocketServer.d.ts @@ -21,8 +21,11 @@ export declare class WebSocketServer { constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); protected httpConfig: IHttpConfig; protected defaultNotification: INotification; + protected webSocketServer: WebSocket.Server; protected webSockets: Record; protected websocketPingHandler: any; + getWebSocketServer(): WebSocket.Server; + getSessionWebSocket(sessionID: string): WebSocket.WebSocket; setupWebSocket(httpServer: http.Server): void; sendMessage(sessionID: string, output: INotification): void; protected getRandomisedMessage(): string; diff --git a/TypeScript/16ImporterUtil/types/servers/WebSocketServer.d.ts b/TypeScript/16ImporterUtil/types/servers/WebSocketServer.d.ts index 3fe89af..b73f22e 100644 --- a/TypeScript/16ImporterUtil/types/servers/WebSocketServer.d.ts +++ b/TypeScript/16ImporterUtil/types/servers/WebSocketServer.d.ts @@ -21,8 +21,11 @@ export declare class WebSocketServer { constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); protected httpConfig: IHttpConfig; protected defaultNotification: INotification; + protected webSocketServer: WebSocket.Server; protected webSockets: Record; protected websocketPingHandler: any; + getWebSocketServer(): WebSocket.Server; + getSessionWebSocket(sessionID: string): WebSocket.WebSocket; setupWebSocket(httpServer: http.Server): void; sendMessage(sessionID: string, output: INotification): void; protected getRandomisedMessage(): string; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/servers/WebSocketServer.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/servers/WebSocketServer.d.ts index 3fe89af..b73f22e 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/servers/WebSocketServer.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/servers/WebSocketServer.d.ts @@ -21,8 +21,11 @@ export declare class WebSocketServer { constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); protected httpConfig: IHttpConfig; protected defaultNotification: INotification; + protected webSocketServer: WebSocket.Server; protected webSockets: Record; protected websocketPingHandler: any; + getWebSocketServer(): WebSocket.Server; + getSessionWebSocket(sessionID: string): WebSocket.WebSocket; setupWebSocket(httpServer: http.Server): void; sendMessage(sessionID: string, output: INotification): void; protected getRandomisedMessage(): string; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/servers/WebSocketServer.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/servers/WebSocketServer.d.ts index 3fe89af..b73f22e 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/servers/WebSocketServer.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/servers/WebSocketServer.d.ts @@ -21,8 +21,11 @@ export declare class WebSocketServer { constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); protected httpConfig: IHttpConfig; protected defaultNotification: INotification; + protected webSocketServer: WebSocket.Server; protected webSockets: Record; protected websocketPingHandler: any; + getWebSocketServer(): WebSocket.Server; + getSessionWebSocket(sessionID: string): WebSocket.WebSocket; setupWebSocket(httpServer: http.Server): void; sendMessage(sessionID: string, output: INotification): void; protected getRandomisedMessage(): string; diff --git a/TypeScript/18CustomItemService/types/servers/WebSocketServer.d.ts b/TypeScript/18CustomItemService/types/servers/WebSocketServer.d.ts index 3fe89af..b73f22e 100644 --- a/TypeScript/18CustomItemService/types/servers/WebSocketServer.d.ts +++ b/TypeScript/18CustomItemService/types/servers/WebSocketServer.d.ts @@ -21,8 +21,11 @@ export declare class WebSocketServer { constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); protected httpConfig: IHttpConfig; protected defaultNotification: INotification; + protected webSocketServer: WebSocket.Server; protected webSockets: Record; protected websocketPingHandler: any; + getWebSocketServer(): WebSocket.Server; + getSessionWebSocket(sessionID: string): WebSocket.WebSocket; setupWebSocket(httpServer: http.Server): void; sendMessage(sessionID: string, output: INotification): void; protected getRandomisedMessage(): string; diff --git a/TypeScript/19UseExternalLibraries/types/servers/WebSocketServer.d.ts b/TypeScript/19UseExternalLibraries/types/servers/WebSocketServer.d.ts index 3fe89af..b73f22e 100644 --- a/TypeScript/19UseExternalLibraries/types/servers/WebSocketServer.d.ts +++ b/TypeScript/19UseExternalLibraries/types/servers/WebSocketServer.d.ts @@ -21,8 +21,11 @@ export declare class WebSocketServer { constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); protected httpConfig: IHttpConfig; protected defaultNotification: INotification; + protected webSocketServer: WebSocket.Server; protected webSockets: Record; protected websocketPingHandler: any; + getWebSocketServer(): WebSocket.Server; + getSessionWebSocket(sessionID: string): WebSocket.WebSocket; setupWebSocket(httpServer: http.Server): void; sendMessage(sessionID: string, output: INotification): void; protected getRandomisedMessage(): string; diff --git a/TypeScript/1LogToConsole/types/servers/WebSocketServer.d.ts b/TypeScript/1LogToConsole/types/servers/WebSocketServer.d.ts index 3fe89af..b73f22e 100644 --- a/TypeScript/1LogToConsole/types/servers/WebSocketServer.d.ts +++ b/TypeScript/1LogToConsole/types/servers/WebSocketServer.d.ts @@ -21,8 +21,11 @@ export declare class WebSocketServer { constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); protected httpConfig: IHttpConfig; protected defaultNotification: INotification; + protected webSocketServer: WebSocket.Server; protected webSockets: Record; protected websocketPingHandler: any; + getWebSocketServer(): WebSocket.Server; + getSessionWebSocket(sessionID: string): WebSocket.WebSocket; setupWebSocket(httpServer: http.Server): void; sendMessage(sessionID: string, output: INotification): void; protected getRandomisedMessage(): string; diff --git a/TypeScript/20CustomChatBot/types/servers/WebSocketServer.d.ts b/TypeScript/20CustomChatBot/types/servers/WebSocketServer.d.ts index 3fe89af..b73f22e 100644 --- a/TypeScript/20CustomChatBot/types/servers/WebSocketServer.d.ts +++ b/TypeScript/20CustomChatBot/types/servers/WebSocketServer.d.ts @@ -21,8 +21,11 @@ export declare class WebSocketServer { constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); protected httpConfig: IHttpConfig; protected defaultNotification: INotification; + protected webSocketServer: WebSocket.Server; protected webSockets: Record; protected websocketPingHandler: any; + getWebSocketServer(): WebSocket.Server; + getSessionWebSocket(sessionID: string): WebSocket.WebSocket; setupWebSocket(httpServer: http.Server): void; sendMessage(sessionID: string, output: INotification): void; protected getRandomisedMessage(): string; diff --git a/TypeScript/21CustomCommandoCommand/types/servers/WebSocketServer.d.ts b/TypeScript/21CustomCommandoCommand/types/servers/WebSocketServer.d.ts index 3fe89af..b73f22e 100644 --- a/TypeScript/21CustomCommandoCommand/types/servers/WebSocketServer.d.ts +++ b/TypeScript/21CustomCommandoCommand/types/servers/WebSocketServer.d.ts @@ -21,8 +21,11 @@ export declare class WebSocketServer { constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); protected httpConfig: IHttpConfig; protected defaultNotification: INotification; + protected webSocketServer: WebSocket.Server; protected webSockets: Record; protected websocketPingHandler: any; + getWebSocketServer(): WebSocket.Server; + getSessionWebSocket(sessionID: string): WebSocket.WebSocket; setupWebSocket(httpServer: http.Server): void; sendMessage(sessionID: string, output: INotification): void; protected getRandomisedMessage(): string; diff --git a/TypeScript/22CustomAkiCommand/types/servers/WebSocketServer.d.ts b/TypeScript/22CustomAkiCommand/types/servers/WebSocketServer.d.ts index 3fe89af..b73f22e 100644 --- a/TypeScript/22CustomAkiCommand/types/servers/WebSocketServer.d.ts +++ b/TypeScript/22CustomAkiCommand/types/servers/WebSocketServer.d.ts @@ -21,8 +21,11 @@ export declare class WebSocketServer { constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); protected httpConfig: IHttpConfig; protected defaultNotification: INotification; + protected webSocketServer: WebSocket.Server; protected webSockets: Record; protected websocketPingHandler: any; + getWebSocketServer(): WebSocket.Server; + getSessionWebSocket(sessionID: string): WebSocket.WebSocket; setupWebSocket(httpServer: http.Server): void; sendMessage(sessionID: string, output: INotification): void; protected getRandomisedMessage(): string; diff --git a/TypeScript/2EditDatabase/types/servers/WebSocketServer.d.ts b/TypeScript/2EditDatabase/types/servers/WebSocketServer.d.ts index 3fe89af..b73f22e 100644 --- a/TypeScript/2EditDatabase/types/servers/WebSocketServer.d.ts +++ b/TypeScript/2EditDatabase/types/servers/WebSocketServer.d.ts @@ -21,8 +21,11 @@ export declare class WebSocketServer { constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); protected httpConfig: IHttpConfig; protected defaultNotification: INotification; + protected webSocketServer: WebSocket.Server; protected webSockets: Record; protected websocketPingHandler: any; + getWebSocketServer(): WebSocket.Server; + getSessionWebSocket(sessionID: string): WebSocket.WebSocket; setupWebSocket(httpServer: http.Server): void; sendMessage(sessionID: string, output: INotification): void; protected getRandomisedMessage(): string; diff --git a/TypeScript/3GetSptConfigFile/types/servers/WebSocketServer.d.ts b/TypeScript/3GetSptConfigFile/types/servers/WebSocketServer.d.ts index 3fe89af..b73f22e 100644 --- a/TypeScript/3GetSptConfigFile/types/servers/WebSocketServer.d.ts +++ b/TypeScript/3GetSptConfigFile/types/servers/WebSocketServer.d.ts @@ -21,8 +21,11 @@ export declare class WebSocketServer { constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); protected httpConfig: IHttpConfig; protected defaultNotification: INotification; + protected webSocketServer: WebSocket.Server; protected webSockets: Record; protected websocketPingHandler: any; + getWebSocketServer(): WebSocket.Server; + getSessionWebSocket(sessionID: string): WebSocket.WebSocket; setupWebSocket(httpServer: http.Server): void; sendMessage(sessionID: string, output: INotification): void; protected getRandomisedMessage(): string; diff --git a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/WebSocketServer.d.ts b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/WebSocketServer.d.ts index 3fe89af..b73f22e 100644 --- a/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/WebSocketServer.d.ts +++ b/TypeScript/4.1UseACustomJson5OrJsonCConfigFile/types/servers/WebSocketServer.d.ts @@ -21,8 +21,11 @@ export declare class WebSocketServer { constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); protected httpConfig: IHttpConfig; protected defaultNotification: INotification; + protected webSocketServer: WebSocket.Server; protected webSockets: Record; protected websocketPingHandler: any; + getWebSocketServer(): WebSocket.Server; + getSessionWebSocket(sessionID: string): WebSocket.WebSocket; setupWebSocket(httpServer: http.Server): void; sendMessage(sessionID: string, output: INotification): void; protected getRandomisedMessage(): string; diff --git a/TypeScript/4UseACustomConfigFile/types/servers/WebSocketServer.d.ts b/TypeScript/4UseACustomConfigFile/types/servers/WebSocketServer.d.ts index 3fe89af..b73f22e 100644 --- a/TypeScript/4UseACustomConfigFile/types/servers/WebSocketServer.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/servers/WebSocketServer.d.ts @@ -21,8 +21,11 @@ export declare class WebSocketServer { constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); protected httpConfig: IHttpConfig; protected defaultNotification: INotification; + protected webSocketServer: WebSocket.Server; protected webSockets: Record; protected websocketPingHandler: any; + getWebSocketServer(): WebSocket.Server; + getSessionWebSocket(sessionID: string): WebSocket.WebSocket; setupWebSocket(httpServer: http.Server): void; sendMessage(sessionID: string, output: INotification): void; protected getRandomisedMessage(): string; diff --git a/TypeScript/5ReplaceMethod/types/servers/WebSocketServer.d.ts b/TypeScript/5ReplaceMethod/types/servers/WebSocketServer.d.ts index 3fe89af..b73f22e 100644 --- a/TypeScript/5ReplaceMethod/types/servers/WebSocketServer.d.ts +++ b/TypeScript/5ReplaceMethod/types/servers/WebSocketServer.d.ts @@ -21,8 +21,11 @@ export declare class WebSocketServer { constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); protected httpConfig: IHttpConfig; protected defaultNotification: INotification; + protected webSocketServer: WebSocket.Server; protected webSockets: Record; protected websocketPingHandler: any; + getWebSocketServer(): WebSocket.Server; + getSessionWebSocket(sessionID: string): WebSocket.WebSocket; setupWebSocket(httpServer: http.Server): void; sendMessage(sessionID: string, output: INotification): void; protected getRandomisedMessage(): string; diff --git a/TypeScript/6ReferenceAnotherClass/types/servers/WebSocketServer.d.ts b/TypeScript/6ReferenceAnotherClass/types/servers/WebSocketServer.d.ts index 3fe89af..b73f22e 100644 --- a/TypeScript/6ReferenceAnotherClass/types/servers/WebSocketServer.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/servers/WebSocketServer.d.ts @@ -21,8 +21,11 @@ export declare class WebSocketServer { constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); protected httpConfig: IHttpConfig; protected defaultNotification: INotification; + protected webSocketServer: WebSocket.Server; protected webSockets: Record; protected websocketPingHandler: any; + getWebSocketServer(): WebSocket.Server; + getSessionWebSocket(sessionID: string): WebSocket.WebSocket; setupWebSocket(httpServer: http.Server): void; sendMessage(sessionID: string, output: INotification): void; protected getRandomisedMessage(): string; diff --git a/TypeScript/7OnLoadHook/types/servers/WebSocketServer.d.ts b/TypeScript/7OnLoadHook/types/servers/WebSocketServer.d.ts index 3fe89af..b73f22e 100644 --- a/TypeScript/7OnLoadHook/types/servers/WebSocketServer.d.ts +++ b/TypeScript/7OnLoadHook/types/servers/WebSocketServer.d.ts @@ -21,8 +21,11 @@ export declare class WebSocketServer { constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); protected httpConfig: IHttpConfig; protected defaultNotification: INotification; + protected webSocketServer: WebSocket.Server; protected webSockets: Record; protected websocketPingHandler: any; + getWebSocketServer(): WebSocket.Server; + getSessionWebSocket(sessionID: string): WebSocket.WebSocket; setupWebSocket(httpServer: http.Server): void; sendMessage(sessionID: string, output: INotification): void; protected getRandomisedMessage(): string; diff --git a/TypeScript/8OnUpdateHook/types/servers/WebSocketServer.d.ts b/TypeScript/8OnUpdateHook/types/servers/WebSocketServer.d.ts index 3fe89af..b73f22e 100644 --- a/TypeScript/8OnUpdateHook/types/servers/WebSocketServer.d.ts +++ b/TypeScript/8OnUpdateHook/types/servers/WebSocketServer.d.ts @@ -21,8 +21,11 @@ export declare class WebSocketServer { constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); protected httpConfig: IHttpConfig; protected defaultNotification: INotification; + protected webSocketServer: WebSocket.Server; protected webSockets: Record; protected websocketPingHandler: any; + getWebSocketServer(): WebSocket.Server; + getSessionWebSocket(sessionID: string): WebSocket.WebSocket; setupWebSocket(httpServer: http.Server): void; sendMessage(sessionID: string, output: INotification): void; protected getRandomisedMessage(): string; diff --git a/TypeScript/9RouterHooks/types/servers/WebSocketServer.d.ts b/TypeScript/9RouterHooks/types/servers/WebSocketServer.d.ts index 3fe89af..b73f22e 100644 --- a/TypeScript/9RouterHooks/types/servers/WebSocketServer.d.ts +++ b/TypeScript/9RouterHooks/types/servers/WebSocketServer.d.ts @@ -21,8 +21,11 @@ export declare class WebSocketServer { constructor(logger: ILogger, randomUtil: RandomUtil, configServer: ConfigServer, localisationService: LocalisationService, jsonUtil: JsonUtil, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper); protected httpConfig: IHttpConfig; protected defaultNotification: INotification; + protected webSocketServer: WebSocket.Server; protected webSockets: Record; protected websocketPingHandler: any; + getWebSocketServer(): WebSocket.Server; + getSessionWebSocket(sessionID: string): WebSocket.WebSocket; setupWebSocket(httpServer: http.Server): void; sendMessage(sessionID: string, output: INotification): void; protected getRandomisedMessage(): string;