|
|
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,
Fti& fti,
uint32_t max_ops = 200)
| XrlFtiTransactionManager |
Constructor
Parameters:
e | the EventLoop. |
fti | the ForwardingTableInterface 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 |
inline Fti& fti ()
| fti |
FtiTransactionManager _ftm | _ftm |
[protected]
uint32_t _max_ops | _max_ops |
[protected]
Generated by: pavlin on possum.icir.org on Mon Mar 10 19:34:57 2003, using kdoc 2.0a54+XORP. |