class XrlFtiTransactionManager

Helper class for helping with Fti transactions via an Xrl interface. More...

Definition#include <xrl_fti.hh>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Members


Detailed Description

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:
ethe EventLoop.
ftithe ForwardingTableInterface object.
max_opsthe 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 Wed Dec 11 16:50:56 2002, using kdoc 2.0a54+XORP.