Summary: These changes abstract RSocket from FlipperConnectionManagerImpl. This is achieved by defining FlipperSocket. FlipperConnectionManagerImpl uses instances of FlipperSocket and RSocket is now contained within FlipperRSocket which implements FlipperSocket. On the changes to follow, FlipperConnectionManagerImpl will no longer reference FlipperRSocket directly thus fully abstracting the socket implementation in use. For reviewers: - All of the RSocket code now lives in FlipperRSocket. - Main changes are in FlipperConnectionManagerImpl. Lambdas are used to deal with events and message handling. - There's some very minimal serialisation additions for payloads. Reviewed By: jknoxville Differential Revision: D30341076 fbshipit-source-id: 54bb4878967378490710c05f729cdd7f4cf08bb8
14 KiB
14 KiB