]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msgr/async: huge refactoring of protocol V1 23415/head
authorRicardo Dias <rdias@suse.com>
Thu, 28 Jun 2018 16:16:30 +0000 (17:16 +0100)
committerRicardo Dias <rdias@suse.com>
Wed, 19 Sep 2018 12:47:48 +0000 (13:47 +0100)
commite6f043f7d2dc655629199231f0312ad6a6cf6be6
treeb596078f3f51cf17aac957e3b448979b382f7c6a
parentfed335ff473fa49a21fc69889008425c207460ed
msgr/async: huge refactoring of protocol V1

This huge commit extracts the protocol V1 logic from the AsyncConnection
class into its own class called ProtocolV1.
The new protocol class extends from a Protocol base class that defines
an interface to allow the implementation of different wire protocols
in the future, such as the msgr V2 protocol.

Signed-off-by: Ricardo Dias <rdias@suse.com>
src/msg/CMakeLists.txt
src/msg/async/AsyncConnection.cc
src/msg/async/AsyncConnection.h
src/msg/async/AsyncMessenger.cc
src/msg/async/AsyncMessenger.h
src/msg/async/Protocol.cc [new file with mode: 0644]
src/msg/async/Protocol.h [new file with mode: 0644]