| 192 | } |
| 193 | |
| 194 | struct HandlePayloadVisitor : public boost::static_visitor<void> { |
| 195 | MgrClient *mgrc; |
| 196 | |
| 197 | HandlePayloadVisitor(MgrClient *mgrc) |
| 198 | : mgrc(mgrc) { |
| 199 | } |
| 200 | |
| 201 | template <typename ConfigPayload> |
| 202 | inline void operator()(const ConfigPayload &payload) const { |
| 203 | mgrc->handle_config_payload(payload); |
| 204 | } |
| 205 | }; |
| 206 | |
| 207 | void _send_stats(); |
| 208 | void _send_pgstats(); |
no outgoing calls
no test coverage detected