summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-07-18 15:05:22 -0700
committerSage Weil <sage@inktank.com>2013-07-18 15:05:22 -0700
commitfd53d53a4221e9470ec67f64ba4fbe89bf97c91c (patch)
tree99fc1cd65c440da79b62879178cc8b43be9efe94
parent8ff7d536a24dd00c6f5d8135bf8cfc4a8ff88a17 (diff)
downloadceph-fd53d53a4221e9470ec67f64ba4fbe89bf97c91c.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;