#include <cfg_listener.h>
|
| CfgListener (DB *database) |
|
virtual | ~CfgListener () |
|
void | NodeListener (DBTablePartBase *partition, DBEntryBase *dbe) |
|
void | LinkListener (DBTablePartBase *partition, DBEntryBase *dbe) |
|
void | NodeCallback (DBTablePartBase *partition, DBEntryBase *dbe) |
|
void | LinkRegister (const std::string &link_mdata, AgentDBTable *table) |
|
void | Register (const std::string &id_type, AgentDBTable *table, int need_property_id) |
|
void | Register (const std::string &id_type, NodeListenerCb callback, int need_property_id) |
|
void | Unregister (std::string type) |
|
AgentDBTable * | GetLinkOperDBTable (IFMapNode *node) |
|
AgentDBTable * | GetOperDBTable (IFMapNode *node) |
|
NodeListenerCb | GetCallback (IFMapNode *node) |
|
void | NodeReSync (IFMapNode *node) |
|
void | Init () |
|
void | Shutdown () |
|
bool | CanUseNode (IFMapNode *node) |
|
bool | CanUseNode (IFMapNode *node, IFMapAgentTable *table) |
|
bool | SkipNode (IFMapNode *node) |
|
bool | SkipNode (IFMapNode *node, IFMapAgentTable *table) |
|
bool | GetCfgDBStateUuid (IFMapNode *node, boost::uuids::uuid &id) |
|
uint32_t | ForEachAdjacentIFMapNode (const Agent *agent, IFMapNode *node, const char *name, AgentKey *key, AgentData *data, IFMapNodeCb cb) |
|
IFMapNode * | FindAdjacentIFMapNode (const Agent *agent, IFMapNode *node, const char *name) |
|
|
void | UpdateSeenState (DBTableBase *table, DBEntryBase *dbe, CfgDBState *state, DBTableBase::ListenerId id) |
|
void | LinkNotify (IFMapLink *link, IFMapNode *node, IFMapNode *peer, const std::string &peer_type, CfgDBState *state, DBTableBase::ListenerId id) |
|
CfgDBState * | GetCfgDBState (IFMapTable *table, DBEntryBase *dbe, DBTableBase::ListenerId &id) |
|
void | NodeNotify (AgentDBTable *oper_table, IFMapNode *node) |
|
| DISALLOW_COPY_AND_ASSIGN (CfgListener) |
|
Definition at line 21 of file cfg_listener.h.
◆ CfgListenerCbMap
◆ CfgListenerIdMap
◆ CfgListenerMap
◆ IFMapNodeCb
◆ NodeListenerCb
◆ CfgListener()
CfgListener::CfgListener |
( |
DB * |
database | ) |
|
◆ ~CfgListener()
virtual CfgListener::~CfgListener |
( |
| ) |
|
|
inlinevirtual |
◆ CanUseNode() [1/2]
bool CfgListener::CanUseNode |
( |
IFMapNode * |
node | ) |
|
◆ CanUseNode() [2/2]
◆ DISALLOW_COPY_AND_ASSIGN()
◆ FindAdjacentIFMapNode()
◆ ForEachAdjacentIFMapNode()
◆ GetCallback()
◆ GetCfgDBState()
◆ GetCfgDBStateUuid()
◆ GetLinkOperDBTable()
◆ GetOperDBTable()
◆ Init()
void CfgListener::Init |
( |
| ) |
|
◆ LinkListener()
◆ LinkNotify()
◆ LinkRegister()
void CfgListener::LinkRegister |
( |
const std::string & |
link_mdata, |
|
|
AgentDBTable * |
table |
|
) |
| |
◆ NodeCallback()
◆ NodeListener()
◆ NodeNotify()
◆ NodeReSync()
void CfgListener::NodeReSync |
( |
IFMapNode * |
node | ) |
|
◆ Register() [1/2]
void CfgListener::Register |
( |
const std::string & |
id_type, |
|
|
AgentDBTable * |
table, |
|
|
int |
need_property_id |
|
) |
| |
◆ Register() [2/2]
void CfgListener::Register |
( |
const std::string & |
id_type, |
|
|
NodeListenerCb |
callback, |
|
|
int |
need_property_id |
|
) |
| |
◆ Shutdown()
void CfgListener::Shutdown |
( |
| ) |
|
◆ SkipNode() [1/2]
bool CfgListener::SkipNode |
( |
IFMapNode * |
node | ) |
|
◆ SkipNode() [2/2]
◆ Unregister()
void CfgListener::Unregister |
( |
std::string |
type | ) |
|
◆ UpdateSeenState()
◆ cfg_link_listener_map_
◆ cfg_listener_cb_map_
◆ cfg_listener_id_map_
◆ cfg_listener_map_
◆ database_
DB* CfgListener::database_ |
|
private |
The documentation for this class was generated from the following file: