@@ -311,7 +311,7 @@ void Connector::loop() {
311311 transaction->setInactive ();
312312 transaction->commit ();
313313
314- updateTxNotification (TxNotification::ConnectionTimeout );
314+ updateTxNotification (TxNotification_ConnectionTimeout );
315315 }
316316 }
317317
@@ -372,7 +372,7 @@ void Connector::loop() {
372372
373373 transaction->commit ();
374374
375- updateTxNotification (TxNotification::StartTx );
375+ updateTxNotification (TxNotification_StartTx );
376376
377377 // fetchFrontRequest will create the StartTransaction and pass it to the message sender
378378 return ;
@@ -416,7 +416,7 @@ void Connector::loop() {
416416
417417 transaction->commit ();
418418
419- updateTxNotification (TxNotification::StopTx );
419+ updateTxNotification (TxNotification_StopTx );
420420
421421 // fetchFrontRequest will create the StopTransaction and pass it to the message sender
422422 return ;
@@ -736,7 +736,7 @@ std::shared_ptr<Transaction> Connector::beginTransaction(const char *idTag) {
736736 if (parentIdTag) {
737737 // parentIdTag known
738738 MO_DBG_INFO (" connector %u reserved - abort transaction" , connectorId);
739- updateTxNotification (TxNotification::ReservationConflict );
739+ updateTxNotification (TxNotification_ReservationConflict );
740740 return nullptr ;
741741 } else {
742742 // parentIdTag unkown but local authorization failed in any case
@@ -776,7 +776,7 @@ std::shared_ptr<Transaction> Connector::beginTransaction(const char *idTag) {
776776 }
777777 transaction->setAuthorized ();
778778
779- updateTxNotification (TxNotification::Authorized );
779+ updateTxNotification (TxNotification_Authorized );
780780 }
781781
782782 transaction->commit ();
@@ -798,7 +798,7 @@ std::shared_ptr<Transaction> Connector::beginTransaction(const char *idTag) {
798798 MO_DBG_DEBUG (" Authorize rejected (%s), abort tx process" , tx->getIdTag ());
799799 tx->setIdTagDeauthorized ();
800800 tx->commit ();
801- updateTxNotification (TxNotification::AuthorizationRejected );
801+ updateTxNotification (TxNotification_AuthorizationRejected );
802802 return ;
803803 }
804804
@@ -820,7 +820,7 @@ std::shared_ptr<Transaction> Connector::beginTransaction(const char *idTag) {
820820 MO_DBG_INFO (" connector %u reserved - abort transaction" , connectorId);
821821 tx->setInactive ();
822822 tx->commit ();
823- updateTxNotification (TxNotification::ReservationConflict );
823+ updateTxNotification (TxNotification_ReservationConflict );
824824 return ;
825825 }
826826 }
@@ -835,7 +835,7 @@ std::shared_ptr<Transaction> Connector::beginTransaction(const char *idTag) {
835835 tx->setAuthorized ();
836836 tx->commit ();
837837
838- updateTxNotification (TxNotification::Authorized );
838+ updateTxNotification (TxNotification_Authorized );
839839 });
840840
841841 // capture local auth and reservation check in for timeout handler
@@ -850,7 +850,7 @@ std::shared_ptr<Transaction> Connector::beginTransaction(const char *idTag) {
850850 MO_DBG_DEBUG (" Abort transaction process (%s), timeout, expired local auth" , tx->getIdTag ());
851851 tx->setInactive ();
852852 tx->commit ();
853- updateTxNotification (TxNotification::AuthorizationTimeout );
853+ updateTxNotification (TxNotification_AuthorizationTimeout );
854854 return ;
855855 }
856856
@@ -859,7 +859,7 @@ std::shared_ptr<Transaction> Connector::beginTransaction(const char *idTag) {
859859 MO_DBG_INFO (" connector %u reserved (offline) - abort transaction" , connectorId);
860860 tx->setInactive ();
861861 tx->commit ();
862- updateTxNotification (TxNotification::ReservationConflict );
862+ updateTxNotification (TxNotification_ReservationConflict );
863863 return ;
864864 }
865865
@@ -871,7 +871,7 @@ std::shared_ptr<Transaction> Connector::beginTransaction(const char *idTag) {
871871 tx->setAuthorized ();
872872 tx->commit ();
873873
874- updateTxNotification (TxNotification::Authorized );
874+ updateTxNotification (TxNotification_Authorized );
875875 return ;
876876 }
877877
@@ -882,14 +882,14 @@ std::shared_ptr<Transaction> Connector::beginTransaction(const char *idTag) {
882882 }
883883 tx->setAuthorized ();
884884 tx->commit ();
885- updateTxNotification (TxNotification::Authorized );
885+ updateTxNotification (TxNotification_Authorized );
886886 return ;
887887 }
888888
889889 MO_DBG_DEBUG (" Abort transaction process (%s): timeout" , tx->getIdTag ());
890890 tx->setInactive ();
891891 tx->commit ();
892- updateTxNotification (TxNotification::AuthorizationTimeout );
892+ updateTxNotification (TxNotification_AuthorizationTimeout );
893893 return ; // offline tx disabled
894894 });
895895 context.initiateRequest (std::move (authorize));
@@ -1184,7 +1184,7 @@ std::unique_ptr<Request> Connector::fetchFrontRequest() {
11841184
11851185 const char * idTagInfoStatus = response[" idTagInfo" ][" status" ] | " _Undefined" ;
11861186 if (strcmp (idTagInfoStatus, " Accepted" )) {
1187- updateTxNotification (TxNotification::DeAuthorized );
1187+ updateTxNotification (TxNotification_DeAuthorized );
11881188 }
11891189 });
11901190 auto transactionFront_capture = transactionFront;
0 commit comments