|
ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
|
Public Member Functions | |
| virtual void | handle_cost_and_tariff (const TransactionEventResponse &response, const TransactionEventRequest &original_message, const json &original_transaction_event_response)=0 |
| Create cost and / or tariff message and call the callbacks to send it, if tariff and / or cost is enabled. More... | |
Public Member Functions inherited from ocpp::v2::MessageHandlerInterface | |
| virtual void | handle_message (const EnhancedMessage< MessageType > &message)=0 |
Handles the given message from the CSMS. This includes dispatching a CALLRESULT as a response to the incoming message . More... | |
|
pure virtual |
Create cost and / or tariff message and call the callbacks to send it, if tariff and / or cost is enabled.
| response | The TransactionEventResponse where the tariff and cost information is added to. |
| original_message | The original TransactionEventRequest, which contains some information we need as well. |
| original_transaction_event_response | The original json from the response. |
Implemented in ocpp::v2::TariffAndCost.