-// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
void perform();
};
+ class TransactionRdExtInitVarCreate : public TransactionVarCreate
+ {
+ public:
+ TransactionRdExtInitVarCreate(DataScopeServerTransaction *dsct, const std::string& varName, const SALOME::ByteVec& constValue):TransactionVarCreate(dsct,varName,constValue) { }
+ void perform();
+ };
+
class TransactionRdWrVarCreate : public TransactionVarCreate
{
public:
void perform();
};
+ class TransactionKillVar : public Transaction
+ {
+ public:
+ TransactionKillVar(DataScopeServerTransaction *dsct, const std::string& varName);
+ void prepareRollBackInCaseOfFailure();
+ void perform();
+ void rollBack();
+ void notify();
+ };
+
class PickelizedPyObjServer;
class TransactionDictModify : public Transaction
void rollBack();
void notify();
};
+
+ /*!
+ * This transaction switch from RdExt to RdExtInit in constructor and when perform called RdExtInit to RdExt.
+ */
+ class TransactionMultiKeyAddSession : public Transaction, public virtual POA_SALOME::TransactionMultiKeyAddSession
+ {
+ public:
+ TransactionMultiKeyAddSession(DataScopeServerTransaction *dsct, const std::string& varName);
+ public://remotely callable
+ void addKeyValueInVarErrorIfAlreadyExistingNow(const SALOME::ByteVec& key, const SALOME::ByteVec& value);
+ public:
+ void prepareRollBackInCaseOfFailure();
+ void perform();
+ void rollBack();
+ void notify();
+ };
}
#endif