|
|
Helper class for helping with Fti transactions via an Xrl interface.
The class provides error messages suitable for Xrl return values and does some extra checking not in the FtiTransactionManager class.
XrlFtiTransactionManager (EventLoop& e,
FtiConfig& ftic,
uint32_t max_ops = 200)
| XrlFtiTransactionManager |
Constructor
Parameters:
e | the EventLoop. |
ftic | the ForwardingTableInterface configuration object. |
max_ops | the maximum number of operations pending. |
XrlCmdError start_transaction (uint32_t& tid)
| start_transaction |
XrlCmdError commit_transaction (uint32_t tid)
| commit_transaction |
XrlCmdError abort_transaction (uint32_t tid)
| abort_transaction |
XrlCmdError add (uint32_t tid, const FtiTransactionManager::Operation& op)
| add |
FtiConfig& ftic ()
| ftic |
FtiTransactionManager _ftm | _ftm |
[protected]
uint32_t _max_ops | _max_ops |
[protected]
Generated by: pavlin on possum.icir.org on Mon Jun 9 13:23:54 2003, using kdoc 2.0a54+XORP. |