Mir
connector_report.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2014 Canonical Ltd.
3  *
4  * This program is free software: you can redistribute it and/or modify it
5  * under the terms of the GNU General Public License version 3,
6  * as published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  * Authored by: Andreas Pokorny <andreas.pokorny@canonical.com>
17  */
18 
19 #ifndef MIR_REPORT_LTTNG_CONNECTOR_REPORT_H_
20 #define MIR_REPORT_LTTNG_CONNECTOR_REPORT_H_
21 
23 
25 
26 #include <stdexcept>
27 #include <string>
28 
29 namespace mir
30 {
31 namespace report
32 {
33 namespace lttng
34 {
35 
37 {
38 public:
39  void thread_start() override;
40  void thread_end() override;
41 
42  void creating_session_for(int socket_handle) override;
43  void creating_socket_pair(int server_handle, int client_handle) override;
44 
45  void listening_on(std::string const& endpoint) override;
46 
47  void error(std::exception const& error) override;
48 private:
49  ServerTracepointProvider tp_provider;
50 };
51 
52 }
53 }
54 }
55 
56 #endif // MIR_REPORT_LTTNG_CONNECTOR_REPORT_H_
All things Mir.
Definition: atomic_callback.h:25
void creating_socket_pair(int server_handle, int client_handle) override
Definition: connector_report.cpp:62
void error(std::exception const &error) override
Definition: connector_report.cpp:76
void listening_on(std::string const &endpoint) override
Definition: connector_report.cpp:69
void thread_start() override
Definition: connector_report.cpp:41
Definition: connector_report.h:30
void creating_session_for(int socket_handle) override
Definition: connector_report.cpp:55
Definition: server_tracepoint_provider.h:31
Definition: connector_report.h:36
void thread_end() override
Definition: connector_report.cpp:48

Copyright © 2012-2015 Canonical Ltd.
Generated on Wed Mar 30 00:29:56 UTC 2016