Update types
This commit is contained in:
parent
2b69963163
commit
ff6fd48e6b
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user