summaryrefslogtreecommitdiffstats
path: root/src/msg/async/AsyncMessenger.h
diff options
context:
space:
mode:
authorKefu Chai <kchai@redhat.com>2019-10-21 06:12:29 +0200
committerGitHub <noreply@github.com>2019-10-21 06:12:29 +0200
commit69d40bb059243aab50410bc215a75ea2916c9530 (patch)
tree49890e3bc228bfe1e48aa4347c10b9fd35f84614 /src/msg/async/AsyncMessenger.h
parentMerge pull request #30695 from dsavineau/ceph_cli_cephconf_rc (diff)
parentmsg/async: clean up code. (diff)
downloadceph-69d40bb059243aab50410bc215a75ea2916c9530.tar.xz
ceph-69d40bb059243aab50410bc215a75ea2916c9530.zip
Merge pull request #30883 from majianpeng/msg-remove-submit-message
msg/async: move submit_message() into send_to() Reviewed-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'src/msg/async/AsyncMessenger.h')
-rw-r--r--src/msg/async/AsyncMessenger.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/msg/async/AsyncMessenger.h b/src/msg/async/AsyncMessenger.h
index 3dcf361e543..0342340a4e0 100644
--- a/src/msg/async/AsyncMessenger.h
+++ b/src/msg/async/AsyncMessenger.h
@@ -200,20 +200,6 @@ private:
AsyncConnectionRef create_connect(const entity_addrvec_t& addrs, int type,
bool anon);
- /**
- * Queue up a Message for delivery to the entity specified
- * by addr and dest_type.
- * submit_message() is responsible for creating
- * new AsyncConnection (and closing old ones) as necessary.
- *
- * @param m The Message to queue up. This function eats a reference.
- * @param con The existing Connection to use, or NULL if you don't know of one.
- * @param dest_addr The address to send the Message to.
- * @param dest_type The peer type of the address we're sending to
- * just drop silently under failure.
- */
- void submit_message(Message *m, const AsyncConnectionRef& con,
- const entity_addrvec_t& dest_addrs, int dest_type);
void _finish_bind(const entity_addrvec_t& bind_addrs,
const entity_addrvec_t& listen_addrs);