it_bus_pdk/wsat_interposed_transaction.h

00001 #ifndef IT_BUS_WSAT_INTERPOSED_TRANSACTION_
00002 #define IT_BUS_WSAT_INTERPOSED_TRANSACTION_
00003 //
00004 //      Copyright (c) 2005 IONA Technologies PLC. All Rights Reserved.
00005 //
00006 namespace WS_Coordination
00007 {
00008     class CoordinationContext;
00009 }
00010 
00011 namespace IT_Bus
00012 {
00016     class IT_BUS_API WSATInterposedTransaction
00017     {
00018       public:
00019         virtual ~WSATInterposedTransaction();
00020 
00021         virtual WS_Coordination::CoordinationContext*
00022         get_coordination_context()=0;
00023 
00024         virtual bool
00025         is_already_enlisted()=0;
00026 
00027         virtual void
00028         is_already_enlisted(
00029             bool yesNo
00030         )=0;
00031 
00032       protected:
00033         // protect against inappropiate construction
00034         WSATInterposedTransaction();
00035 
00036       private:
00037         WSATInterposedTransaction(const WSATInterposedTransaction&);
00038         WSATInterposedTransaction& operator=(const WSATInterposedTransaction&);
00039     };
00040     typedef Var<WSATInterposedTransaction> WSATInterposedTransaction_var;
00041     typedef WSATInterposedTransaction* WSATInterposedTransaction_ptr;
00042 }
00043 
00044 #endif 

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