5 #ifndef __IFMAP_XMPP_H__
6 #define __IFMAP_XMPP_H__
11 #include <boost/function.hpp>
12 #include <boost/system/error_code.hpp>
47 virtual std::string
ToString()
const;
48 virtual bool SendUpdate(
const std::string &msg);
67 virtual void WriteReadyCb(
const boost::system::error_code &ec);
82 typedef std::list<boost::uuids::uuid>
UuidList;
98 typedef std::map<boost::uuids::uuid, struct VmExportInfo *>
VmMap;
106 #endif // __IFMAP_XMPP_H__
AgentIfMapXmppChannel(Agent *agent, XmppChannel *channel, uint8_t count)
virtual ~EndOfConfigData()
virtual std::string ToString() const
DBTableBase::ListenerId vmi_list_id_
void VmiAdd(const ControllerVmiSubscribeData *entry)
virtual void WriteReadyCb(const boost::system::error_code &ec)
boost::scoped_ptr< ConfigCleanupTimer > config_cleanup_timer_
virtual const std::string & identifier() const
AgentIfMapVmExport(Agent *agent)
boost::shared_ptr< EndOfConfigData > EndOfConfigDataPtr
void ReceiveInternal(const XmppStanza::XmppMessage *msg)
virtual ~AgentIfMapXmppChannel()
void StopEndOfConfigTimer()
VmExportInfo(uint64_t seq_no)
AgentIfMapXmppChannel * channel()
virtual void ReceiveUpdate(const XmppStanza::XmppMessage *msg)
EndOfConfigTimer * end_of_config_timer()
virtual bool SendUpdate(const std::string &msg)
void StopConfigCleanupTimer()
EndOfConfigData(AgentIfMapXmppChannel *ch)
void NotifyAll(AgentXmppChannel *peer)
void ProcessEndOfConfig()
void VmiDelete(const ControllerVmiSubscribeData *entry)
DISALLOW_COPY_AND_ASSIGN(EndOfConfigData)
uint8_t GetXmppServerIdx()
void EnqueueEndOfConfig()
void StartConfigCleanupTimer()
boost::scoped_ptr< EndOfConfigTimer > end_of_config_timer_
AgentIfMapXmppChannel * channel_
std::list< boost::uuids::uuid > UuidList
static uint64_t GetSeqNumber()
void ReceiveConfigMessage(std::unique_ptr< XmlBase > impl)
void StartEndOfConfigTimer()
std::map< boost::uuids::uuid, struct VmExportInfo * > VmMap
static uint64_t seq_number_
static uint64_t NewSeqNumber()
void VmiEvent(const ControllerVmiSubscribeData *entry)
ConfigCleanupTimer * config_cleanup_timer()