1 import ChargingStation from
'../ChargingStation';
2 import { JsonType
} from
'../../types/JsonType';
3 import { RequestCommand
} from
'../../types/ocpp/Requests';
5 export default abstract class OCPPResponseService
{
6 protected chargingStation
: ChargingStation
;
8 constructor(chargingStation
: ChargingStation
) {
9 this.chargingStation
= chargingStation
;
12 public abstract handleResponse(commandName
: RequestCommand
, payload
: JsonType
| string, requestPayload
: JsonType
): Promise
<void>;