diff options
author | Kefu Chai <kchai@redhat.com> | 2019-10-21 06:12:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-21 06:12:29 +0200 |
commit | 69d40bb059243aab50410bc215a75ea2916c9530 (patch) | |
tree | 49890e3bc228bfe1e48aa4347c10b9fd35f84614 /src/msg/async/AsyncMessenger.h | |
parent | Merge pull request #30695 from dsavineau/ceph_cli_cephconf_rc (diff) | |
parent | msg/async: clean up code. (diff) | |
download | ceph-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.h | 14 |
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); |