]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
msgr: mark addr-based [lazy_]send_message and get_connection deprecated
authorSage Weil <sage@inktank.com>
Thu, 18 Jul 2013 22:05:22 +0000 (15:05 -0700)
committerGreg Farnum <greg@inktank.com>
Fri, 19 Jul 2013 20:21:48 +0000 (13:21 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
src/msg/Messenger.h

index 94a737c1c11ba4cfce38063fdcd8bcd3fd2e6f41..42feaf227dfd84a69df793f88ebe43d55ce44aeb 100644 (file)
@@ -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;