commit | author | age
|
a0a843
|
1 |
// |
H |
2 |
// TWTRScribeService.h |
|
3 |
// |
|
4 |
// Created by Mustafa Furniturewala on 7/21/14. |
|
5 |
// Copyright (c) 2014 Twitter. All rights reserved. |
|
6 |
// |
|
7 |
|
|
8 |
@class TFSScribe; |
|
9 |
@class TWTRScribeEvent; |
|
10 |
@class TWTRAPIClient; |
|
11 |
@class TWTRAuthConfig; |
|
12 |
@class TWTRGuestSession; |
|
13 |
@class TWTRNetworkingPipeline; |
|
14 |
@class TWTRSessionStore; |
|
15 |
@class TwitterNetworking; |
|
16 |
@protocol TWTRAuthSession; |
|
17 |
@protocol TWTRAPIServiceConfig; |
|
18 |
|
|
19 |
NS_ASSUME_NONNULL_BEGIN |
|
20 |
|
|
21 |
@interface TWTRScribeService : NSObject |
|
22 |
|
|
23 |
- (instancetype)initWithScribe:(TFSScribe *)scribe scribeAPIServiceConfig:(id<TWTRAPIServiceConfig>)APIserviceConfig; |
|
24 |
|
|
25 |
- (instancetype)init __unavailable; |
|
26 |
|
|
27 |
/** |
|
28 |
This method must be called before the scribe attempts to enqueue any network requests. |
|
29 |
*/ |
|
30 |
- (void)setSessionStore:(TWTRSessionStore *)sessionStore networkingPipeline:(TWTRNetworkingPipeline *)pipeline; |
|
31 |
|
|
32 |
- (void)enqueueEvent:(nullable TWTRScribeEvent *)event; |
|
33 |
- (void)enqueueEvents:(nullable NSArray *)events; |
|
34 |
|
|
35 |
@end |
|
36 |
|
|
37 |
NS_ASSUME_NONNULL_END |