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, FtiConfig& ftic, uint32_t max_ops = 200)

XrlFtiTransactionManager

Constructor

Parameters:
ethe EventLoop.
fticthe ForwardingTableInterface configuration 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

FtiConfig&  ftic ()

ftic

FtiTransactionManager _ftm

_ftm

[protected]

uint32_t _max_ops

_max_ops

[protected]


Generated by: pavlin on possum.icir.org on Thu Nov 6 23:46:57 2003, using kdoc 2.0a54+XORP.