summaryrefslogtreecommitdiff
path: root/CIAO/ciao/CCM_Transaction.idl
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/ciao/CCM_Transaction.idl')
-rw-r--r--CIAO/ciao/CCM_Transaction.idl89
1 files changed, 0 insertions, 89 deletions
diff --git a/CIAO/ciao/CCM_Transaction.idl b/CIAO/ciao/CCM_Transaction.idl
deleted file mode 100644
index c0c8cdc2c1d..00000000000
--- a/CIAO/ciao/CCM_Transaction.idl
+++ /dev/null
@@ -1,89 +0,0 @@
-// $Id$
-
-/**
- * @@ Compile this file with:
- *
- * tao_idl -Gv -I ../.. -I ../../orbsvcs/orbsvcs \
- * -Wb,export_macro=CIAO_Export \
- * -Wb,export_include=CIAO_export.h \
- * -Wb,pre_include="ace/pre.h" \
- * -Wb,post_include="ace/post.h" \
- * CCM_Transaction.idl
- */
-
-//#define CIAO_HAS_IMPORT_KEYWORD
-
-#if !defined (CCM_TRANSACTION_IDL)
-#define CCM_TRANSACTION_IDL
-
-module Components
-{
- typeprefix Components "omg.org";
-
- // @@ Components::Transaction is still there.
- module Transaction
- {
-
- typedef sequence<octet> TranToken;
-
- exception NoTransaction {};
- exception NotSupported {};
- exception SystemError {};
- exception RollbackError {};
- exception HeuristicMixed {};
- exception HeuristicRollback {};
- exception Security {};
- exception InvalidToken {};
-
- enum Status
- {
- ACTIVE,
- MARKED_ROLLBACK,
- PREPARED,
- COMMITTED,
- ROLLED_BACK,
- NO_TRANSACTION,
- PREPARING,
- COMMITTING,
- ROLLING_BACK
- };
-
- local interface UserTransaction {
- void begin ()
- raises (NotSupported,
- SystemError);
-
- void commit ()
- raises (RollbackError,
- NoTransaction,
- HeuristicMixed,
- HeuristicRollback,
- Security,
- SystemError);
-
- void rollback ()
- raises (NoTransaction,
- Security,
- SystemError);
-
- void set_rollback_only ()
- raises (NoTransaction,
- SystemError);
-
- Status get_status()
- raises (SystemError);
-
- void set_timeout (in long to)
- raises (SystemError);
-
- TranToken suspend ()
- raises (NoTransaction,
- SystemError);
-
- void resume (in TranToken txtoken)
- raises (InvalidToken,
- SystemError);
- };
- };
-};
-#endif /* CCM_TRANSACTION_IDL */