Extract Responder class out of FlipperConnectionManagerImpl
Summary: For one thing, this file is too big so it's good to split it up. Also, having this responder defined in the .cpp file makes it hard to test. Extracting it for testability. Reviewed By: passy Differential Revision: D14000079 fbshipit-source-id: 8da4e0e325f48c0ada8efc7cd6fffcb3440c6e26
This commit is contained in:
committed by
Facebook Github Bot
parent
4a3de26a88
commit
c48c1a728a
@@ -19,11 +19,13 @@ namespace flipper {
|
||||
|
||||
class ConnectionEvents;
|
||||
class ConnectionContextStore;
|
||||
class Responder;
|
||||
class FlipperRSocketResponder;
|
||||
|
||||
rsocket::Payload toRSocketPayload(folly::dynamic data);
|
||||
|
||||
class FlipperConnectionManagerImpl : public FlipperConnectionManager {
|
||||
friend ConnectionEvents;
|
||||
friend Responder;
|
||||
friend FlipperRSocketResponder;
|
||||
|
||||
public:
|
||||
FlipperConnectionManagerImpl(FlipperInitConfig config, std::shared_ptr<FlipperState> state, std::shared_ptr<ConnectionContextStore> contextStore);
|
||||
|
||||
Reference in New Issue
Block a user