Simplify incoming OCPP request payload parsing
[e-mobility-charging-stations-simulator.git] / src / charging-station / ui-websocket-services / AbstractUIService.ts
index 0bc34bd99772f6e2f5cde37d397717af5d69668e..680a73eb07ae0ea040396b1ab75df1165ef1e250 100644 (file)
@@ -16,7 +16,7 @@ export default abstract class AbstractUIService {
     ]);
   }
 
-  public async handleMessage(command: ProtocolCommand, payload: JsonType): Promise<void> {
+  public async messageHandler(command: ProtocolCommand, payload: JsonType): Promise<void> {
     let messageResponse: JsonType;
     if (this.messageHandlers.has(command)) {
       try {