Apply dependencies update
[e-mobility-charging-stations-simulator.git] / src / charging-station / ui-server / ui-services / AbstractUIService.ts
index d4ad33988e2062f7c99b779026f07cf5323c1fe0..151cff336ce33b012a21b8e20d51cd2c9e7b2277 100644 (file)
@@ -4,18 +4,18 @@ import {
   ProtocolRequestHandler,
 } from '../../../types/UIProtocol';
 
+import { AbstractUIServer } from '../AbstractUIServer';
 import BaseError from '../../../exception/BaseError';
 import { JsonType } from '../../../types/JsonType';
 import { RawData } from 'ws';
-import UIWebSocketServer from '../UIWebSocketServer';
 import Utils from '../../../utils/Utils';
 import logger from '../../../utils/Logger';
 
 export default abstract class AbstractUIService {
-  protected readonly uiServer: UIWebSocketServer;
+  protected readonly uiServer: AbstractUIServer;
   protected readonly messageHandlers: Map<ProtocolCommand, ProtocolRequestHandler>;
 
-  constructor(uiServer: UIWebSocketServer) {
+  constructor(uiServer: AbstractUIServer) {
     this.uiServer = uiServer;
     this.messageHandlers = new Map<ProtocolCommand, ProtocolRequestHandler>([
       [ProtocolCommand.LIST_CHARGING_STATIONS, this.handleListChargingStations.bind(this)],