System/Library/PrivateFrameworks/EmailDaemon.framework
EDRemoteContentManager.h
Download EDRemoteContentManager.h
@class EMRemoteContentURLSession, EFLocked, NSBackgroundActivityScheduler, EDRemoteContentPersistence, NSDate, NSLock, EFCancelationToken;
@protocol EFScheduler, EDRemoteContentManagerTestDelegate;
@interface EDRemoteContentManager : NSObject {
NSBackgroundActivityScheduler *_requestScheduler;
id<EFScheduler> _unconditionalRequestScheduler;
unsigned long long _remainingCountToSchedule;
struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _requestSchedulerLock;
struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _timeoutLock;
struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _schedulingLock;
EFCancelationToken *_token;
EFLocked *_remoteLinkVerificationTimes;
}
@property (readonly, nonatomic) EDRemoteContentPersistence *remoteContentPersistence;
@property (readonly, nonatomic) EMRemoteContentURLSession *urlSession;
@property (readonly, nonatomic) id<EFScheduler> backgroundWorkScheduler;
@property (readonly, nonatomic) id<EFScheduler> unconditionalRequestScheduler;
@property (readonly, nonatomic) NSLock *requestLock;
@property (nonatomic) unsigned long long requestedSinceLastPrune;
@property (nonatomic) double minimumTimeout;
@property (nonatomic) double maximumTimeout;
@property (retain, nonatomic) NSDate *timeoutLastUpdate;
@property (nonatomic) double requestInterval;
@property (nonatomic) unsigned long long batchSize;
@property (retain, nonatomic) NSDate *schedulingLastUpdate;
@property (weak, nonatomic) id<EDRemoteContentManagerTestDelegate> testDelegate;
@property (copy, nonatomic) id /* block */ requestSchedulerBlock;
@property (nonatomic) unsigned long long pruneFrequency;
- (void)addRemoteContentLinks:(id)a0;
- (void)_updateTimeoutSettingDefaultIfNeeded:(BOOL)a0;
- (id)_requestSchedulerWithInterval:(double)a0;
- (BOOL)shouldAddRemoteContentLinksForMessageWithDateReceived:(id)a0;
- (void)noteViewOfRemoteContentLinks:(id)a0;
- (id)initWithRemoteContentPersistence:(id)a0 contentRuleListManager:(id)a1 urlSession:(id)a2;
- (void)_scheduleRequestForLinks:(unsigned long long)a0 unconditionally:(BOOL)a1 withDelay:(double)a2 completionHandler:(id /* block */)a3;
- (void)addRemoteContentLinks:(id)a0 requiredParsing:(BOOL)a1;
- (void)scheduleRecurringActivity;
- (unsigned long long)_requestRemoteLinksInBackground:(unsigned long long)a0 unconditionally:(BOOL)a1 hasMoreLinks:(BOOL *)a2 deferBlock:(id /* block */)a3;
- (void)_addRemoteContentLinks:(id)a0 andVerify:(BOOL)a1 WithParsedLinks:(id)a2 defaultCharsetName:(id)a3;
- (id)_issueAndWaitForBatch:(id)a0 deferBlock:(id /* block */)a1 successful:(unsigned long long *)a2 failed:(unsigned long long *)a3 canceled:(unsigned long long *)a4 deferred:(unsigned long long *)a5;
- (void)_scheduleBackgroundRequests;
- (BOOL)shouldAddRemoteContentLinksForMessage:(id)a0 logMessage:(id *)a1;
- (void).cxx_destruct;
- (void)_updateScheduling;
- (void)test_tearDown;
- (void)addRemoteContentLinks:(id)a0 andVerifyWithParsedLinks:(id)a1 defaultCharsetName:(id)a2;
- (id)_viewDurationsFromBiome;
- (double)_getTimeout;
- (unsigned long long)_performRequests:(unsigned long long)a0 unconditionally:(BOOL)a1 withDeferBlock:(id /* block */)a2 completedCount:(unsigned long long *)a3;
- (BOOL)shouldVerifyRemoteLinks;
@end