Commit | Line | Data |
---|---|---|
c0560973 JB |
1 | import ChargingStation from '../ChargingStation'; |
2 | import { IncomingRequestCommand } from '../../types/ocpp/Requests'; | |
3 | ||
4 | export default abstract class OCPPIncomingRequestService { | |
5 | protected chargingStation: ChargingStation; | |
6 | ||
7 | constructor(chargingStation: ChargingStation) { | |
8 | this.chargingStation = chargingStation; | |
9 | } | |
10 | ||
11 | public abstract handleRequest(messageId: string, commandName: IncomingRequestCommand, commandPayload: Record<string, unknown>): Promise<void>; | |
12 | } |