summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-07-18 15:05:22 -0700
committerGreg Farnum <greg@inktank.com>2013-07-19 13:21:48 -0700
commitd1b83be14c4d6dc996e352b5fe6558f50176cbab (patch)
tree98807e6e7caa1646637af8e8863312bf45f9c393
parent11c47cc4e3ddac54a5b2bb2623cf59b77917f555 (diff)
downloadceph-d1b83be14c4d6dc996e352b5fe6558f50176cbab.tar.gz
msgr: mark addr-based [lazy_]send_message and get_connection deprecated
Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r--src/msg/Messenger.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/msg/Messenger.h b/src/msg/Messenger.h
index 94a737c1c11..42feaf227df 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;