Restructure UI server code to prepare it for issue #238
[e-mobility-charging-stations-simulator.git] / src / charging-station / ui-server / ui-services / UIService001.ts
similarity index 73%
rename from src/charging-station/ui-websocket-services/UIService001.ts
rename to src/charging-station/ui-server/ui-services/UIService001.ts
index 18fb66a9d4a08589883bcb3569622bccac817034..eecdcd34792da1ef2bf6beae1f4cff19595ab704 100644 (file)
@@ -1,12 +1,12 @@
-import { ProtocolCommand, ProtocolRequestHandler } from '../../types/UIProtocol';
+import { ProtocolCommand, ProtocolRequestHandler } from '../../../types/UIProtocol';
 
 import AbstractUIService from './AbstractUIService';
-import { JsonType } from '../../types/JsonType';
+import { JsonType } from '../../../types/JsonType';
 import UIWebSocketServer from '../UIWebSocketServer';
 
 export default class UIService001 extends AbstractUIService {
-  constructor(uiWebSocketServer: UIWebSocketServer) {
-    super(uiWebSocketServer);
+  constructor(uiServer: UIWebSocketServer) {
+    super(uiServer);
     this.messageHandlers.set(
       ProtocolCommand.START_TRANSACTION,
       this.handleStartTransaction.bind(this) as ProtocolRequestHandler