5 #ifndef vnsw_cfg_listener_h
6 #define vnsw_cfg_listener_h
53 int need_property_id);
56 int need_property_id);
74 typedef boost::function<void(
const Agent *agent,
const char *name,
90 const std::string &peer_type,
CfgDBState *state,
void UpdateSeenState(DBTableBase *table, DBEntryBase *dbe, CfgDBState *state, DBTableBase::ListenerId id)
boost::function< void(IFMapNode *)> NodeListenerCb
void NodeNotify(AgentDBTable *oper_table, IFMapNode *node)
void LinkRegister(const std::string &link_mdata, AgentDBTable *table)
void Register(const std::string &id_type, AgentDBTable *table, int need_property_id)
IFMapNode * FindAdjacentIFMapNode(const Agent *agent, IFMapNode *node, const char *name)
CfgListenerMap cfg_link_listener_map_
bool SkipNode(IFMapNode *node)
void Unregister(std::string type)
std::map< std::string, CfgListenerInfo > CfgListenerCbMap
std::map< std::string, CfgTableListenerInfo > CfgListenerMap
bool GetCfgDBStateUuid(IFMapNode *node, boost::uuids::uuid &id)
void LinkNotify(IFMapLink *link, IFMapNode *node, IFMapNode *peer, const std::string &peer_type, CfgDBState *state, DBTableBase::ListenerId id)
AgentDBTable * GetLinkOperDBTable(IFMapNode *node)
CfgListenerCbMap cfg_listener_cb_map_
void NodeReSync(IFMapNode *node)
AgentDBTable * GetOperDBTable(IFMapNode *node)
std::map< DBTableBase *, DBTableBase::ListenerId > CfgListenerIdMap
CfgListenerMap cfg_listener_map_
NodeListenerCb GetCallback(IFMapNode *node)
CfgListener(DB *database)
uint32_t ForEachAdjacentIFMapNode(const Agent *agent, IFMapNode *node, const char *name, AgentKey *key, AgentData *data, IFMapNodeCb cb)
void NodeCallback(DBTablePartBase *partition, DBEntryBase *dbe)
void NodeListener(DBTablePartBase *partition, DBEntryBase *dbe)
CfgDBState * GetCfgDBState(IFMapTable *table, DBEntryBase *dbe, DBTableBase::ListenerId &id)
boost::function< void(const Agent *agent, const char *name, IFMapNode *node, AgentKey *key, AgentData *data)> IFMapNodeCb
DISALLOW_COPY_AND_ASSIGN(CfgListener)
CfgListenerIdMap cfg_listener_id_map_
bool CanUseNode(IFMapNode *node)
void LinkListener(DBTablePartBase *partition, DBEntryBase *dbe)