exception HeuristicCommit { };
exception HeuristicHazard { };
exception HeuristicMixed { };
exception HeuristicRollback { };
exception Inactive { };
exception InvalidControl { };
exception InvalidTransaction { };
exception NotPrepared { };
exception NoTransaction { };
exception NotSubtransaction { };
exception SubtransactionsUnavailable { };
exception TransactionRequired { };
exception TransactionRolledBack { };
exception Unavailable { };
struct ContextHeader { CosTransactions::Magic magic0; CosTransactions::Magic magic1; CosTransactions::VersionDef version; CosTransactions::TranContextType type; };
typedef octet Magic;
struct otid_t { long formatID; long bqual_length; tid; };
struct PropagationContext { unsigned long timeout; CosTransactions::TransIdentity current; parents; any implementation_specific_data; };
enum Status { StatusActive, StatusMarkedRollback, StatusPrepared, StatusCommitted, StatusRolledBack, StatusUnknown, StatusNoTransaction, StatusPreparing, StatusCommitting, StatusRollingBack };
typedef sequence < octet > TranAddress;
typedef sequence < octet > TranApplId;
struct TranContext { CosTransactions::ContextHeader hdr; CosTransactions::TranData data; };
enum TranContextType { TRAN_UNKNOWN_REQUEST, TRAN_BLIND_REQUEST, TRAN_NORMAL_REQUEST, TRAN_BLIND_REPLY, TRAN_NORMAL_REPLY };
struct TranData { CosTransactions::TranAddress address; CosTransactions::TranApplId applId; CosTransactions::TranMessage message; };
typedef sequence < octet > TranMessage;
struct TransIdentity { CosTransactions::Coordinator coord; CosTransactions::Terminator term; CosTransactions::otid_t otid; };
typedef short VersionDef;
enum Vote { VoteCommit, VoteRollback, VoteReadOnly };