Rename iOS SonarConnection to FlipperConnection
Summary: Rename iOS SonarConnection to FlipperConnection Reviewed By: jknoxville Differential Revision: D9916509 fbshipit-source-id: 7253ab37f5ab28dc8063fb6b3765afd1c2aee645
This commit is contained in:
committed by
Facebook Github Bot
parent
f970e60edd
commit
fdc4f7a5c8
@@ -10,7 +10,7 @@
|
||||
#import <vector>
|
||||
|
||||
#import "SKBufferingPlugin.h"
|
||||
#import <SonarKit/SonarConnection.h>
|
||||
#import <SonarKit/FlipperConnection.h>
|
||||
#import "SKDispatchQueue.h"
|
||||
#import "SKBufferingPlugin+CPPInitialization.h"
|
||||
|
||||
@@ -20,7 +20,7 @@ static const NSUInteger bufferSize = 500;
|
||||
|
||||
@property(assign, nonatomic) std::vector<CachedEvent> ringBuffer;
|
||||
@property(assign, nonatomic) std::shared_ptr<facebook::flipper::DispatchQueue> connectionAccessQueue;
|
||||
@property(strong, nonatomic) id<SonarConnection> connection;
|
||||
@property(strong, nonatomic) id<FlipperConnection> connection;
|
||||
|
||||
@end
|
||||
|
||||
@@ -29,7 +29,7 @@ static const NSUInteger bufferSize = 500;
|
||||
// std::vector<CachedEvent> _ringBuffer;
|
||||
// std::shared_ptr<facebook::flipper::DispatchQueue> _connectionAccessQueue;
|
||||
//
|
||||
// id<SonarConnection> _connection;
|
||||
// id<FlipperConnection> _connection;
|
||||
// }
|
||||
|
||||
- (instancetype)initWithQueue:(dispatch_queue_t)queue {
|
||||
@@ -45,7 +45,7 @@ static const NSUInteger bufferSize = 500;
|
||||
return @"Network";
|
||||
}
|
||||
|
||||
- (void)didConnect:(id<SonarConnection>)connection {
|
||||
- (void)didConnect:(id<FlipperConnection>)connection {
|
||||
_connectionAccessQueue->async(^{
|
||||
self->_connection = connection;
|
||||
[self sendBufferedEvents];
|
||||
|
||||
Reference in New Issue
Block a user