class MMgrReport;
class MMgrOpen;
+class MMonMgrReport;
class MCommand;
struct MgrCommand;
AuthAuthorizeHandlerRegistry auth_registry;
+ /// connections for osds
+ ceph::unordered_map<int,set<ConnectionRef>> osd_cons;
+
Mutex lock;
static void _generate_command_map(map<string,cmd_vartype>& cmdmap,
~DaemonServer() override;
bool ms_dispatch(Message *m) override;
- bool ms_handle_reset(Connection *con) override { return false; }
+ bool ms_handle_reset(Connection *con) override;
void ms_handle_remote_reset(Connection *con) override {}
bool ms_handle_refused(Connection *con) override;
bool ms_get_authorizer(int dest_type, AuthAuthorizer **authorizer,
bool handle_open(MMgrOpen *m);
bool handle_report(MMgrReport *m);
bool handle_command(MCommand *m);
+ void send_report();
};
#endif