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