X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcharging-station%2Fui-server%2FAbstractUIServer.ts;h=e689441633b47e0c7a6b52cd4c90fb1de58221be;hb=9c6983d1f7acf05a0a4b69ddb233c8331063a79c;hp=c21185fe2c890d8bc2f293dcb68ba756f1a517ef;hpb=1ca4a038d1b263b3b66a3c1872742bd98a696e75;p=e-mobility-charging-stations-simulator.git diff --git a/src/charging-station/ui-server/AbstractUIServer.ts b/src/charging-station/ui-server/AbstractUIServer.ts index c21185fe..e6894416 100644 --- a/src/charging-station/ui-server/AbstractUIServer.ts +++ b/src/charging-station/ui-server/AbstractUIServer.ts @@ -46,14 +46,14 @@ export abstract class AbstractUIServer { this.chargingStations.clear(); } - public async sendRequestOnBroadcastChannel(request: ProtocolRequest): Promise { + public async sendInternalRequest(request: ProtocolRequest): Promise { const protocolVersion = ProtocolVersion['0.0.1']; this.registerProtocolVersionUIService(protocolVersion); return this.uiServices.get(protocolVersion)?.requestHandler(request); } - public hasResponseHandler(uuid: string): boolean { - return this.responseHandlers.has(uuid); + public hasResponseHandler(id: string): boolean { + return this.responseHandlers.has(id); } protected startHttpServer(): void {