|
| virtual void | on_transaction_started (const int32_t evse_id, const int32_t connector_id, const std::string &session_id, const DateTime ×tamp, const TriggerReasonEnum trigger_reason, const MeterValue &meter_start, const std::optional< IdToken > &id_token, const std::optional< IdToken > &group_id_token, const std::optional< int32_t > &reservation_id, const std::optional< int32_t > &remote_start_id, const ChargingStateEnum charging_state)=0 |
| | Event handler that should be called when a transaction has started. More...
|
| |
| virtual void | on_transaction_finished (const int32_t evse_id, const DateTime ×tamp, const MeterValue &meter_stop, const ReasonEnum reason, const TriggerReasonEnum trigger_reason, const std::optional< IdToken > &id_token, const std::optional< std::string > &signed_meter_value, const ChargingStateEnum charging_state)=0 |
| | Event handler that should be called when a transaction has finished. More...
|
| |
|
virtual void | transaction_event_req (const TransactionEventEnum &event_type, const DateTime ×tamp, const Transaction &transaction, const TriggerReasonEnum &trigger_reason, const int32_t seq_no, const std::optional< int32_t > &cable_max_current, const std::optional< EVSE > &evse, const std::optional< IdToken > &id_token, const std::optional< std::vector< MeterValue > > &meter_value, const std::optional< int32_t > &number_of_phases_used, const bool offline, const std::optional< int32_t > &reservation_id, const bool initiated_by_trigger_message=false)=0 |
| |
|
virtual void | set_remote_start_id_for_evse (const int32_t evse_id, const IdToken id_token, const int32_t remote_start_id)=0 |
| |
|
virtual void | schedule_reset (const std::optional< int32_t > reset_scheduled_evseid)=0 |
| |
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...
|
| |
◆ on_transaction_finished()
| virtual void ocpp::v2::TransactionInterface::on_transaction_finished |
( |
const int32_t |
evse_id, |
|
|
const DateTime & |
timestamp, |
|
|
const MeterValue & |
meter_stop, |
|
|
const ReasonEnum |
reason, |
|
|
const TriggerReasonEnum |
trigger_reason, |
|
|
const std::optional< IdToken > & |
id_token, |
|
|
const std::optional< std::string > & |
signed_meter_value, |
|
|
const ChargingStateEnum |
charging_state |
|
) |
| |
|
pure virtual |
Event handler that should be called when a transaction has finished.
- Parameters
-
| evse_id | |
| timestamp | |
| meter_stop | |
| reason | |
| id_token | |
| signed_meter_value | |
| charging_state | |
Implemented in ocpp::v2::TransactionBlock.
◆ on_transaction_started()
| virtual void ocpp::v2::TransactionInterface::on_transaction_started |
( |
const int32_t |
evse_id, |
|
|
const int32_t |
connector_id, |
|
|
const std::string & |
session_id, |
|
|
const DateTime & |
timestamp, |
|
|
const TriggerReasonEnum |
trigger_reason, |
|
|
const MeterValue & |
meter_start, |
|
|
const std::optional< IdToken > & |
id_token, |
|
|
const std::optional< IdToken > & |
group_id_token, |
|
|
const std::optional< int32_t > & |
reservation_id, |
|
|
const std::optional< int32_t > & |
remote_start_id, |
|
|
const ChargingStateEnum |
charging_state |
|
) |
| |
|
pure virtual |
Event handler that should be called when a transaction has started.
- Parameters
-
| evse_id | |
| connector_id | |
| session_id | |
| timestamp | |
| trigger_reason | |
| meter_start | |
| id_token | |
| group_id_token | Optional group id token |
| reservation_id | |
| remote_start_id | |
| charging_state | The new charging state |
Implemented in ocpp::v2::TransactionBlock.
The documentation for this class was generated from the following file: