Refine UI WS service log messages
[e-mobility-charging-stations-simulator.git] / src / charging-station / UIWebSocketServices / UIService001.ts
1 import AbstractUIService from './AbstractUIService';
2 import { ProtocolCommand } from '../../types/UIProtocol';
3 import UIWebSocketServer from '../UIWebSocketServer';
4
5 export default class UIService001 extends AbstractUIService {
6 constructor(uiWebSocketServer: UIWebSocketServer) {
7 super(uiWebSocketServer);
8 this.messageHandlers.set(ProtocolCommand.START_TRANSACTION, this.handleStartTransaction.bind(this));
9 this.messageHandlers.set(ProtocolCommand.STOP_TRANSACTION, this.handleStopTransaction.bind(this));
10 }
11
12 private handleStartTransaction(payload: Record<string, unknown>): void { }
13 private handleStopTransaction(payload: Record<string, unknown>): void { }
14 }