it_bus_pdk/xa_transaction_identifier.h

00001 #ifndef IT_BUS_XA_TRANSACTION_IDENTIFIER_
00002 #define IT_BUS_XA_TRANSACTION_IDENTIFIER_
00003 //
00004 //      Copyright (c) 2005 IONA Technologies PLC. All Rights Reserved.
00005 //
00006 #include <it_bus/transaction_identifier.h>
00007 #include <it_bus_pdk/ots_transaction_identifier.h>
00008 #include <orbix_sys/xa.h>
00009 
00010 namespace IT_Bus
00011 {
00015     class IT_BUS_API XATransactionIdentifier : public TransactionIdentifier
00016     {
00017       public:
00018         virtual ~XATransactionIdentifier();
00019 
00025         virtual XID&
00026         get_xid()=0;
00027 
00028 
00029       protected:
00030         // protect against inappropiate construction
00031         XATransactionIdentifier();
00032 
00033       private:
00034         XATransactionIdentifier(const XATransactionIdentifier&);
00035         XATransactionIdentifier& operator=(const XATransactionIdentifier&);
00036     };
00037     typedef Var<XATransactionIdentifier> XATransactionIdentifier_var;
00038     typedef XATransactionIdentifier* XATransactionIdentifier_ptr;
00039 }
00040 
00041 #endif 

Generated on Tue Mar 20 15:27:53 2007 for Artix by  doxygen 1.5.1-p1