From: Jérôme Benoit Date: Tue, 15 Mar 2022 18:35:55 +0000 (+0100) Subject: Bind to this more OCPP request sending methods X-Git-Tag: v1.1.56~7 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=54ce9b7d9ae0dd7d25a0c805611676b3c6a22318;p=e-mobility-charging-stations-simulator.git Bind to this more OCPP request sending methods Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ocpp/OCPPRequestService.ts b/src/charging-station/ocpp/OCPPRequestService.ts index 7b50b62a..89766371 100644 --- a/src/charging-station/ocpp/OCPPRequestService.ts +++ b/src/charging-station/ocpp/OCPPRequestService.ts @@ -34,6 +34,8 @@ export default abstract class OCPPRequestService { this.chargingStation = chargingStation; this.ocppResponseService = ocppResponseService; this.sendMessageHandler.bind(this); + this.sendResult.bind(this); + this.sendError.bind(this); } public static getInstance(