Move socket event handler inside FlipperConnectionManagerImpl
Summary: The event handler is a friend type that was mutating the connection manager state. Instead, just forward the event handling to it. Then state mutation is consolidated inside the connection manager. Reviewed By: passy Differential Revision: D46849769 fbshipit-source-id: 594ab32c8e891564afa94e1be6b93b1dfeffe26f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
35e2dd2e17
commit
4379317258
@@ -82,6 +82,7 @@ class FlipperConnectionManagerImpl : public FlipperConnectionManager {
|
||||
void startSync();
|
||||
bool connectAndExchangeCertificate();
|
||||
bool connectSecurely();
|
||||
void handleSocketEvent(const SocketEvent event);
|
||||
bool isCertificateExchangeNeeded();
|
||||
void requestSignedCertificate();
|
||||
void processSignedCertificateResponse(
|
||||
|
||||
Reference in New Issue
Block a user