this.chargingStations.clear();
}
- public async sendRequestOnBroadcastChannel(request: ProtocolRequest): Promise<ProtocolResponse> {
+ public async sendInternalRequest(request: ProtocolRequest): Promise<ProtocolResponse> {
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 {