OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vrouter_stats_collector.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
3  */
4 
5 #ifndef vnsw_agent_vrouter_stats_collector_h
6 #define vnsw_agent_vrouter_stats_collector_h
7 
8 #include <cmn/agent_cmn.h>
9 #include <uve/stats_collector.h>
10 #include <uve/agent_uve_base.h>
11 
12 //Defines functionality to periodically export VRouter UVEs to collector.
13 //Runs in the context of "Agent::Uve" which has exclusion with "db::DBTable"
15 public:
16  VrouterStatsCollector(boost::asio::io_service &io, AgentUveBase *uve);
17  virtual ~VrouterStatsCollector();
18 
19  bool Run();
20  void Shutdown();
21 private:
24 };
25 
26 #endif //vnsw_agent_vrouter_stats_collector_h
DISALLOW_COPY_AND_ASSIGN(VrouterStatsCollector)
VrouterStatsCollector(boost::asio::io_service &io, AgentUveBase *uve)