OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BgpAsAServiceFlowMgmtTree Class Reference

#include <flow_mgmt_tree.h>

Inheritance diagram for BgpAsAServiceFlowMgmtTree:
Collaboration diagram for BgpAsAServiceFlowMgmtTree:

Public Member Functions

 BgpAsAServiceFlowMgmtTree (FlowMgmtManager *mgr, int index)
 
virtual ~BgpAsAServiceFlowMgmtTree ()
 
void ExtractKeys (FlowEntry *flow, FlowMgmtKeyTree *tree)
 
FlowMgmtEntryAllocate (const FlowMgmtKey *key)
 
bool BgpAsAServiceHealthCheckUpdate (Agent *agent, BgpAsAServiceFlowMgmtKey &key, BgpAsAServiceFlowMgmtRequest *req)
 
bool BgpAsAServiceDelete (BgpAsAServiceFlowMgmtKey &key, const FlowMgmtRequest *req)
 
void DeleteAll ()
 
virtual void FreeNotify (FlowMgmtKey *key, uint32_t gen_id)
 
- Public Member Functions inherited from FlowMgmtTree
 FlowMgmtTree (FlowMgmtManager *mgr)
 
virtual ~FlowMgmtTree ()
 
virtual bool Add (FlowMgmtKey *key, FlowEntry *flow, FlowMgmtKeyNode *node)
 
virtual bool Delete (FlowMgmtKey *key, FlowEntry *flow, FlowMgmtKeyNode *node)
 
virtual void InsertEntry (FlowMgmtKey *key, FlowMgmtEntry *entry)
 
virtual void RemoveEntry (Tree::iterator it)
 
virtual bool OperEntryAdd (const FlowMgmtRequest *req, FlowMgmtKey *key)
 
virtual bool OperEntryChange (const FlowMgmtRequest *req, FlowMgmtKey *key)
 
virtual bool OperEntryDelete (const FlowMgmtRequest *req, FlowMgmtKey *key)
 
virtual bool RetryDelete (FlowMgmtKey *key)
 
FlowMgmtEntryLocate (FlowMgmtKey *key)
 
FlowMgmtEntryFind (FlowMgmtKey *key)
 
FlowMgmtKeyLowerBound (FlowMgmtKey *key)
 
Treetree ()
 
FlowMgmtManagermgr () const
 

Static Public Member Functions

static int GetCNIndex (const FlowEntry *flow)
 
- Static Public Member Functions inherited from FlowMgmtTree
static bool AddFlowMgmtKey (FlowMgmtKeyTree *tree, FlowMgmtKey *key)
 

Static Public Attributes

static const int kInvalidCnIndex = -1
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (BgpAsAServiceFlowMgmtTree)
 

Private Attributes

int index_
 

Additional Inherited Members

- Public Types inherited from FlowMgmtTree
typedef std::map< FlowMgmtKey
*, FlowMgmtEntry
*, FlowMgmtKeyCmp
Tree
 
- Protected Member Functions inherited from FlowMgmtTree
bool TryDelete (FlowMgmtKey *key, FlowMgmtEntry *entry)
 
- Protected Attributes inherited from FlowMgmtTree
Tree tree_
 
FlowMgmtManagermgr_
 

Detailed Description

Definition at line 265 of file flow_mgmt_tree.h.

Constructor & Destructor Documentation

BgpAsAServiceFlowMgmtTree::BgpAsAServiceFlowMgmtTree ( FlowMgmtManager mgr,
int  index 
)
inline

Definition at line 268 of file flow_mgmt_tree.h.

virtual BgpAsAServiceFlowMgmtTree::~BgpAsAServiceFlowMgmtTree ( )
inlinevirtual

Definition at line 270 of file flow_mgmt_tree.h.

Member Function Documentation

FlowMgmtEntry * BgpAsAServiceFlowMgmtTree::Allocate ( const FlowMgmtKey key)
virtual

Implements FlowMgmtTree.

Definition at line 175 of file flow_mgmt_tree.cc.

bool BgpAsAServiceFlowMgmtTree::BgpAsAServiceDelete ( BgpAsAServiceFlowMgmtKey key,
const FlowMgmtRequest req 
)

Definition at line 194 of file flow_mgmt_tree.cc.

Here is the call graph for this function:

bool BgpAsAServiceFlowMgmtTree::BgpAsAServiceHealthCheckUpdate ( Agent agent,
BgpAsAServiceFlowMgmtKey key,
BgpAsAServiceFlowMgmtRequest req 
)

Definition at line 181 of file flow_mgmt_tree.cc.

Here is the call graph for this function:

void BgpAsAServiceFlowMgmtTree::DeleteAll ( )

Definition at line 204 of file flow_mgmt_tree.cc.

Here is the call graph for this function:

BgpAsAServiceFlowMgmtTree::DISALLOW_COPY_AND_ASSIGN ( BgpAsAServiceFlowMgmtTree  )
private
void BgpAsAServiceFlowMgmtTree::ExtractKeys ( FlowEntry flow,
FlowMgmtKeyTree tree 
)
virtual

Implements FlowMgmtTree.

Definition at line 159 of file flow_mgmt_tree.cc.

Here is the call graph for this function:

void BgpAsAServiceFlowMgmtTree::FreeNotify ( FlowMgmtKey key,
uint32_t  gen_id 
)
virtual

Reimplemented from FlowMgmtTree.

Definition at line 155 of file flow_mgmt_tree.cc.

Here is the call graph for this function:

int BgpAsAServiceFlowMgmtTree::GetCNIndex ( const FlowEntry flow)
static

Definition at line 214 of file flow_mgmt_tree.cc.

Here is the call graph for this function:

Member Data Documentation

int BgpAsAServiceFlowMgmtTree::index_
private

Definition at line 286 of file flow_mgmt_tree.h.

const int BgpAsAServiceFlowMgmtTree::kInvalidCnIndex = -1
static

Definition at line 267 of file flow_mgmt_tree.h.


The documentation for this class was generated from the following files: