1 import ChargingStation from
'../ChargingStation';
2 import { IncomingRequestCommand
} from
'../../types/ocpp/Requests';
4 export default abstract class OCPPIncomingRequestService
{
5 protected chargingStation
: ChargingStation
;
7 constructor(chargingStation
: ChargingStation
) {
8 this.chargingStation
= chargingStation
;
11 public abstract handleRequest(messageId
: string, commandName
: IncomingRequestCommand
, commandPayload
: Record
<string, unknown
>): Promise
<void>;