class TransactionOperation

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

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

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 kobe.xorp.net on Wed Jan 7 19:10:36 2009, using kdoc 2.0a54+XORP.