class TransactionOperation

Base class for operations within a Transaction. More...

Contains pure virtuals
Definition#include <transaction.hh>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

TransactionOperations when realized through derived classes are operations that can be held and dispatched at a later time. The TransactionManager class is provided as a container for TransactionOperations.

NB TransactionOperation is analogous to the Command pattern in the BoF: Design Patterns , Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides, Addison Wesley, 1995, ISBN 0-201-63361-2.

 ~TransactionOperation ()

~TransactionOperation

[virtual]

Destructor

bool  dispatch ()

dispatch

[pure virtual]

Dispatch operation

Returns: true on success, false on error.

string  str ()

str

[const pure virtual]

Returns: string representation of operation.


Generated by: pavlin on possum.icir.org on Thu Nov 6 23:46:46 2003, using kdoc 2.0a54+XORP.