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


Private Member Functions | |
| DISALLOW_COPY_AND_ASSIGN (TsnElectorWalker) | |
Private Attributes | |
| bool | master_ |
Additional Inherited Members | |
Public Types inherited from AgentRouteWalker | |
| typedef boost::function< void()> | WalkDone |
| typedef boost::function< void(VrfEntry *)> | RouteWalkDoneCb |
| typedef std::map< const VrfEntry *, tbb::atomic< int > > | VrfRouteWalkCountMap |
Static Public Attributes inherited from AgentRouteWalker | |
| static const int | kInvalidWalkCount = 0 |
Protected Member Functions inherited from AgentRouteWalker | |
| AgentRouteWalker (const std::string &name, Agent *agent) | |
| void | set_mgr (AgentRouteWalkerManager *mgr) |
Definition at line 20 of file tsn_elector.h.
| TsnElectorWalker::TsnElectorWalker | ( | const std::string & | name, |
| Agent * | agent | ||
| ) |
Definition at line 33 of file tsn_elector.cc.
|
virtual |
Definition at line 37 of file tsn_elector.cc.
| void TsnElectorWalker::AcquireTsnMastership | ( | ) |
|
private |
| void TsnElectorWalker::LeaveTsnMastership | ( | ) |
|
virtual |
Reimplemented from AgentRouteWalker.
Definition at line 40 of file tsn_elector.cc.

|
private |
Definition at line 30 of file tsn_elector.h.