IT_Bus::TransactionInterface Class Reference

#include <it_bus/port.h>

Inheritance diagram for IT_Bus::TransactionInterface:

IT_Bus::ClientTransactionalTransport IT_Bus::Port IT_Bus::ServerTransactionalTransport IT_Bus::MessagingPort List of all members.

Detailed Description

Base class for transaction methods.

Definition at line 70 of file port.h.

Public Member Functions

virtual bool supports_transactions ()
 Returns an indicator as to whether the derived class supports transactions.
virtual void begin ()
 Marks the beginning of a transactional unit of work.
virtual void commit ()
 Marks the successful end of a transactional unit of work.
virtual void rollback ()
 Marks the unsuccessful end of a transactional unit of work.


Member Function Documentation

virtual bool IT_Bus::TransactionInterface::supports_transactions (  )  [virtual]

Returns an indicator as to whether the derived class supports transactions.

Returns:
bool Default value is false.
Derived transactional class must override.

virtual void IT_Bus::TransactionInterface::begin (  )  [virtual]

Marks the beginning of a transactional unit of work.

Exceptions:
NonTransactionalException 
Derived transactional class must override.

virtual void IT_Bus::TransactionInterface::commit (  )  [virtual]

Marks the successful end of a transactional unit of work.

Exceptions:
NonTransactionalException 
Derived transactional class must override.

virtual void IT_Bus::TransactionInterface::rollback (  )  [virtual]

Marks the unsuccessful end of a transactional unit of work.

Exceptions:
NonTransactionalException 
Derived transactional class must override.


Generated on Tue Mar 20 15:28:05 2007 for Artix by  doxygen 1.5.1-p1