class FtiTransactionManager

Class to store and execute FTI transactions. More...

Definition#include <fti_transaction.hh>
InheritsTransactionManager (libxorp) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Protected Methods

Protected Members


Detailed Description

Class to store and execute FTI transactions. An FTI transaction is a a sequence of FTI commands that should executed atomically.

typedef TransactionManager::Operation Operation

Operation

enum { TIMEOUT_MS = 5000 }

 FtiTransactionManager (EventLoop& e, Fti& fti, uint32_t max_pending = 10)

FtiTransactionManager

Fti&  fti ()

fti

const string&  error ()

error

[const]

Returns: string representing first error during commit. If string is empty(), then no error occurred.

inline void  unset_error ()

unset_error

[protected]

inline bool  set_unset_error (const string& error)

set_unset_error

[protected]

void  pre_commit (uint32_t tid)

pre_commit

[protected]

Reimplemented from TransactionManager.

void  post_commit (uint32_t tid)

post_commit

[protected]

Reimplemented from TransactionManager.

void  operation_result (bool success, TransactionOperation& op)

operation_result

[protected]

Reimplemented from TransactionManager.

Fti& _fti

_fti

[protected]

string _error

_error

[protected]

inline void  unset_error ()

unset_error

[protected]

inline bool  set_unset_error (const string& error)

set_unset_error

[protected]


Generated by: pavlin on possum.icir.org on Wed Dec 11 16:50:56 2002, using kdoc 2.0a54+XORP.