it_bus_pdk/ots_transaction_manager.h

00001 #ifndef IT_BUS_OTS_TRANSACTION_MANAGER_
00002 #define IT_BUS_OTS_TRANSACTION_MANAGER_
00003 //
00004 //      Copyright (c) 2005 IONA Technologies PLC. All Rights Reserved.
00005 //
00006 #include <it_bus/transaction_manager.h>
00007 #include <omg/CosTransactions.hh>
00008 
00009 namespace IT_Bus
00010 {
00014     class IT_BUS_API OTSTransactionManager : public TransactionManager
00015     {
00016       public:
00017         virtual ~OTSTransactionManager();
00018 
00024         virtual void
00025         rollback_only()=0;
00026 
00032         virtual String
00033         get_transaction_name()=0;
00034 
00040         virtual CosTransactions::Coordinator_ptr
00041         get_coordinator()=0;
00042 
00048         virtual CosTransactions::Current_ptr
00049         get_current()=0;
00050 
00051       protected:
00052         // protect against inappropiate construction
00053         OTSTransactionManager();
00054 
00055       private:
00056         OTSTransactionManager(const OTSTransactionManager&);
00057         OTSTransactionManager& operator=(const OTSTransactionManager&);
00058     };
00059     typedef Var<OTSTransactionManager> OTSTransactionManager_var;
00060     typedef OTSTransactionManager* OTSTransactionManager_ptr;
00061 }
00062 
00063 #endif 

Generated on Thu Sep 7 11:39:35 2006 for Artix by  doxygen 1.4.7