return this.broadcastChannelRequests.get(uuid) ?? 0;
}
- protected sendBroadcastChannelRequest(
+ protected handleProtocolRequest(
+ uuid: string,
+ procedureName: ProcedureName,
+ payload: RequestPayload
+ ): void {
+ this.sendBroadcastChannelRequest(
+ uuid,
+ AbstractUIService.ProcedureNameToBroadCastChannelProcedureNameMap[
+ procedureName
+ ] as BroadcastChannelProcedureName,
+ payload
+ );
+ }
+
+ private sendBroadcastChannelRequest(
uuid: string,
procedureName: BroadcastChannelProcedureName,
payload: BroadcastChannelRequestPayload
this.broadcastChannelRequests.set(uuid, expectedNumberOfResponses);
}
- protected handleProtocolRequest(
- uuid: string,
- procedureName: ProcedureName,
- payload: RequestPayload
- ): void {
- this.sendBroadcastChannelRequest(
- uuid,
- AbstractUIService.ProcedureNameToBroadCastChannelProcedureNameMap[
- procedureName
- ] as BroadcastChannelProcedureName,
- payload
- );
- }
-
private handleListChargingStations(): ResponsePayload {
return {
status: ResponseStatus.SUCCESS,