From: Sage Weil Date: Thu, 18 Jul 2013 22:05:22 +0000 (-0700) Subject: msgr: mark addr-based [lazy_]send_message and get_connection deprecated X-Git-Tag: v0.67-rc1~27^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fd53d53a4221e9470ec67f64ba4fbe89bf97c91c;p=ceph.git msgr: mark addr-based [lazy_]send_message and get_connection deprecated Signed-off-by: Sage Weil --- diff --git a/src/msg/Messenger.h b/src/msg/Messenger.h index 94a737c1c11b..42feaf227dfd 100644 --- a/src/msg/Messenger.h +++ b/src/msg/Messenger.h @@ -388,6 +388,9 @@ public: * when you pass it in. * @param dest The entity to send the Message to. * + * DEPRECATED: please do not use this interface for any new code; + * use the Connection* variant. + * * @return 0 on success, or -errno on failure. */ virtual int send_message(Message *m, const entity_inst_t& dest) = 0; @@ -417,6 +420,9 @@ public: * when you pass it in. * @param dest The entity to send the Message to. * + * DEPRECATED: please do not use this interface for any new code; + * use the Connection* variant. + * * @return 0. */ virtual int lazy_send_message(Message *m, const entity_inst_t& dest) = 0; @@ -483,6 +489,9 @@ public: * * This generates a RESET notification to the Dispatcher. * + * DEPRECATED: please do not use this interface for any new code; + * use the Connection* variant. + * * @param a The address to mark down. */ virtual void mark_down(const entity_addr_t& a) = 0;