@class PCPersistentTimer, NSString, PCKeepAliveState, NSRunLoop, NSObject; @protocol OS_os_log, PCConnectionManagerDelegate, PCGrowthAlgorithm, OS_dispatch_queue; @interface PCConnectionManager : NSObject { int _connectionClass; id _delegate; NSString *_serviceIdentifier; NSString *_duetIdentifier; int _prefsStyle; int _onlyAllowedStyle; BOOL _onlyAllowedStyleSet; unsigned long long _guidancePriority; NSRunLoop *_delegateRunLoop; NSObject *_delegateQueue; NSObject *_logObject; id _wwanGrowthAlgorithm[2]; id _wifiGrowthAlgorithm[2]; id _lastScheduledGrowthAlgorithm; PCPersistentTimer *_intervalTimer; PCPersistentTimer *_reconnectWakeTimer; PCPersistentTimer *_delayTimer; unsigned int _powerAssertionID; double _onTimeKeepAliveTime; double _lastResumeTime; double _lastStopTime; double _lastStartTime; double _lastReachableTime; double _lastReconnectTime; double _lastScheduledIntervalTime; double _timerGuidance; double _lastElapsedInterval; BOOL _operatorMinimumIntervalFallbackAllowed; unsigned int _reconnectIteration; int _timerGuidanceToken; int _pushIsConnectedToken; int _prefsChangedToken; double _defaultPollingInterval; double _pollingIntervalOverride; BOOL _pollingIntervalOverrideSet; BOOL _hasStarted; BOOL _isRunning; BOOL _inCallback; BOOL _isInReconnectMode; BOOL _reconnectWithKeepAliveDelay; BOOL _forceManualWhenRoaming; BOOL _enableNonCellularConnections; BOOL _isReachable; BOOL _disableEarlyFire; BOOL _deviceUnderGoodCondition; int _currentGrowthStage; id _duetContextRegistration; int _currentAddressFamily; } @property (weak, nonatomic) id delegate; @property (copy, nonatomic) NSString *duetIdentifier; @property (readonly, nonatomic) BOOL isRunning; @property (readonly, nonatomic) double currentKeepAliveInterval; @property (nonatomic) double minimumKeepAliveInterval; @property double maximumKeepAliveInterval; @property (readonly, nonatomic) PCKeepAliveState *currentKeepAliveState; @property (nonatomic) double serverStatsMaxKeepAliveInterval; @property (nonatomic) double serverStatsExpectedKeepAliveInterval; @property (nonatomic) double serverStatsMinKeepAliveInterval; @property (nonatomic) BOOL usingServerStatsAggressively; @property (readonly, nonatomic) unsigned long long countOfGrowthActions; @property (nonatomic) BOOL disableEarlyFire; @property (nonatomic) BOOL minimumIntervalFallbackEnabled; @property (nonatomic) long long interfaceIdentifier; @property (nonatomic) BOOL alwaysWantsInterfaceChangeCallbacks; @property (nonatomic) BOOL powerOptimizationsForExpensiveNetworkingDisabled; @property (nonatomic) int currentAddressFamily; @property (readonly, nonatomic) int lastProcessedAction; @property (nonatomic) double keepAliveGracePeriod; @property (nonatomic) double nonCellularEarlyFireConstantInterval; @property (readonly, nonatomic) double pollingInterval; @property (readonly, nonatomic) int currentGrowthStage; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (BOOL)_isCachedKeepAliveIntervalStillValid:(double)a0 date:(id)a1; + (Class)growthAlgorithmClass; + (id)intervalCacheDictionaries; + (id)_keepAliveCachePath; - (void)_handleDeviceConditionChangeCallback; - (void)_adjustInterfaceAssertions; - (void)dealloc; - (void)_saveWWANKeepAliveInterval; - (void)interfaceLinkQualityChanged:(id)a0 previousLinkQuality:(int)a1; - (void)_pauseTimers; - (id)_stringForStyle:(int)a0; - (void)_releasePowerAssertion; - (void)startManager; - (void)setPollingIntervalOverride:(double)a0; - (void)_setupTimerForPushWithKeepAliveInterval:(double)a0; - (void)_clearTimers; - (void)interfaceManagerWWANInterfaceStatusChanged:(id)a0; - (void)_intervalTimerFired; - (void)_processDeviceConditionChanges; - (void)_resolveStateWithAction:(int)a0; - (void)_setTimerGuidance:(double)a0; - (void)_validateActionForCurrentStyle:(int)a0; - (id)persistentInterfaceManager; - (void)_setupTimerForPollForAdjustment:(BOOL)a0; - (id)initWithConnectionClass:(int)a0 interfaceIdentifier:(long long)a1 guidancePriority:(unsigned long long)a2 delegate:(id)a3 serviceIdentifier:(id)a4; - (void)_adjustPollTimerIfNecessary; - (void)_setupKeepAliveForReconnect; - (void)_delayTimerFired; - (BOOL)_hasBudgetRemaining; - (void)setEnableNonCellularConnections:(BOOL)a0; - (id)_stringForAddressFamily:(int)a0; - (void)_preferencesChanged; - (void)setOnlyAllowedStyle:(int)a0; - (id)initWithConnectionClass:(int)a0 delegate:(id)a1 serviceIdentifier:(id)a2; - (void)resumeManagerWithAction:(int)a0 forceGrow:(BOOL)a1; - (void)setKeepAliveOverrideOnInterface:(long long)a0 interval:(double)a1 timeout:(double)a2; - (id)_initWithConnectionClass:(int)a0 interfaceIdentifier:(long long)a1 guidancePriority:(unsigned long long)a2 delegate:(id)a3 delegateQueue:(id)a4 serviceIdentifier:(id)a5; - (void)_setMinimumKeepAliveInterval:(double)a0 onInterface:(long long)a1; - (void)_takePowerAssertionWithTimeout:(double)a0; - (void)resumeManagerWithAction:(int)a0; - (BOOL)shouldClientScheduleReconnectDueToFailure; - (void)stopAndResetManager; - (void)_deregisterForDeviceConditionsNotifications; - (void)carrierBundleDidChange; - (int)currentStyle; - (void)_loadPreferencesGeneratingEvent:(BOOL)a0; - (void)_adjustMinimumIntervalFallback; - (BOOL)_isPushConnected; - (void).cxx_destruct; - (void)_callDelegateWithEventAndContext:(id)a0; - (id)_currentGrowthAlgorithm; - (BOOL)operatorMinimumIntervalFallbackAllowed; - (void)interfaceManagerInternetReachabilityChanged:(id)a0; - (void)_clearTimersReleasingPowerAssertion:(BOOL)a0; - (void)_calloutWithEvent:(int)a0 context:(id)a1; - (void)stopManager; - (void)interfaceManagerInHomeCountryStatusChanged:(id)a0; - (id)_growthAlgorithmOnInterface:(long long)a0; - (void)setOperatorMinimumIntervalFallbackAllowed:(BOOL)a0; - (id)_stringForEvent:(int)a0; - (void)cancelPollingIntervalOverride; - (id)initWithConnectionClass:(int)a0 delegate:(id)a1 delegateQueue:(id)a2 serviceIdentifier:(id)a3; - (id)_stringForAction:(int)a0; - (id)_getCachedWWANKeepAliveIntervalForAddressFamily:(int)a0; - (void)_registerForDeviceConditionsNotifications; - (void)_setMaximumKeepAliveInterval:(double)a0 onInterface:(long long)a1; @end