|
ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
|
Public Member Functions | |
| DatabaseTransaction (DatabaseConnection &database, std::unique_lock< std::timed_mutex > mutex) | |
| void | commit () override |
| Commits the transaction and release the lock on the database interface. More... | |
| void | rollback () override |
| Aborts the transaction and release the lock on the database interface. More... | |
Public Member Functions inherited from ocpp::common::DatabaseTransactionInterface | |
| virtual | ~DatabaseTransactionInterface ()=default |
| Destructor of transaction: Will by default rollback unless commit() is called. | |
| virtual void | commit ()=0 |
| Commits the transaction and release the lock on the database interface. More... | |
| virtual void | rollback ()=0 |
| Aborts the transaction and release the lock on the database interface. More... | |
|
inlineoverridevirtual |
Commits the transaction and release the lock on the database interface.
Implements ocpp::common::DatabaseTransactionInterface.
|
inlineoverridevirtual |
Aborts the transaction and release the lock on the database interface.
Implements ocpp::common::DatabaseTransactionInterface.