+ public stop(): void {
+ this.chargingStations.clear();
+ }
+
+ public async sendRequestOnBroadcastChannel(request: ProtocolRequest): Promise<ProtocolResponse> {
+ const protocolVersion = ProtocolVersion['0.0.1'];
+ this.registerProtocolVersionUIService(protocolVersion);
+ return this.uiServices.get(protocolVersion)?.requestHandler(request);
+ }
+
+ protected startHttpServer(): void {
+ if (this.httpServer.listening === false) {
+ this.httpServer.listen(this.uiServerConfiguration.options);
+ }
+ }
+