|
OpenSDN source code
|
#include <bgp_condition_listener.h>

Public Types | |
| typedef std::map< BgpTable *, ConditionMatchTableState * > | TableMap |
| typedef boost::function< void(BgpTable *, ConditionMatch *)> | RequestDoneCb |
Public Member Functions | |
| BgpConditionListener (BgpServer *server) | |
| void | AddMatchCondition (BgpTable *table, ConditionMatch *obj, RequestDoneCb addDoneCb) |
| void | RemoveMatchCondition (BgpTable *table, ConditionMatch *obj, RequestDoneCb deleteDonecb) |
| ConditionMatchState * | GetMatchState (BgpTable *table, BgpRoute *route, ConditionMatch *obj) |
| bool | CheckMatchState (BgpTable *table, BgpRoute *route, ConditionMatch *obj) |
| void | SetMatchState (BgpTable *table, BgpRoute *route, ConditionMatch *obj, ConditionMatchState *state=NULL) |
| void | RemoveMatchState (BgpTable *table, BgpRoute *route, ConditionMatch *obj) |
| void | UnregisterMatchCondition (BgpTable *table, ConditionMatch *obj) |
| BgpServer * | server () |
Private Types | |
| typedef std::set< ConditionMatchTableState * > | PurgeTableStateList |
Private Member Functions | |
| bool | BgpRouteNotify (BgpServer *server, DBTablePartBase *root, DBEntryBase *entry) |
| void | TableWalk (ConditionMatchTableState *ts, ConditionMatch *obj, RequestDoneCb cb) |
| bool | PurgeTableState () |
| void | WalkDone (ConditionMatchTableState *ts, DBTableBase *table) |
| void | DisableTableWalkProcessing () |
| void | EnableTableWalkProcessing () |
| DISALLOW_COPY_AND_ASSIGN (BgpConditionListener) | |
Private Attributes | |
| BgpServer * | server_ |
| tbb::mutex | mutex_ |
| TableMap | map_ |
| PurgeTableStateList | purge_list_ |
| boost::scoped_ptr< TaskTrigger > | purge_trigger_ |
Friends | |
| template<typename U > | |
| class | PathResolverTest |
Definition at line 156 of file bgp_condition_listener.h.
|
private |
Definition at line 203 of file bgp_condition_listener.h.
| typedef boost::function<void(BgpTable *, ConditionMatch *)> BgpConditionListener::RequestDoneCb |
Definition at line 161 of file bgp_condition_listener.h.
| typedef std::map<BgpTable *, ConditionMatchTableState *> BgpConditionListener::TableMap |
Definition at line 158 of file bgp_condition_listener.h.
|
explicit |
Definition at line 106 of file bgp_condition_listener.cc.
| void BgpConditionListener::AddMatchCondition | ( | BgpTable * | table, |
| ConditionMatch * | obj, | ||
| RequestDoneCb | addDoneCb | ||
| ) |
|
private |
| bool BgpConditionListener::CheckMatchState | ( | BgpTable * | table, |
| BgpRoute * | route, | ||
| ConditionMatch * | obj | ||
| ) |
|
private |
|
private |
|
private |
| ConditionMatchState * BgpConditionListener::GetMatchState | ( | BgpTable * | table, |
| BgpRoute * | route, | ||
| ConditionMatch * | obj | ||
| ) |
|
private |
| void BgpConditionListener::RemoveMatchCondition | ( | BgpTable * | table, |
| ConditionMatch * | obj, | ||
| RequestDoneCb | deleteDonecb | ||
| ) |
| void BgpConditionListener::RemoveMatchState | ( | BgpTable * | table, |
| BgpRoute * | route, | ||
| ConditionMatch * | obj | ||
| ) |
|
inline |
Definition at line 197 of file bgp_condition_listener.h.
| void BgpConditionListener::SetMatchState | ( | BgpTable * | table, |
| BgpRoute * | route, | ||
| ConditionMatch * | obj, | ||
| ConditionMatchState * | state = NULL |
||
| ) |
|
private |
| void BgpConditionListener::UnregisterMatchCondition | ( | BgpTable * | table, |
| ConditionMatch * | obj | ||
| ) |
|
private |
|
friend |
Definition at line 202 of file bgp_condition_listener.h.
|
private |
Definition at line 223 of file bgp_condition_listener.h.
|
private |
Definition at line 222 of file bgp_condition_listener.h.
|
private |
Definition at line 224 of file bgp_condition_listener.h.
|
private |
Definition at line 225 of file bgp_condition_listener.h.
|
private |
Definition at line 221 of file bgp_condition_listener.h.