@class NSCountedSet, NSString, NSMutableDictionary, NSObject; @protocol OS_xpc_object; @interface DADClient : DADisableableObject { BOOL _hasCalendarAccess; BOOL _hasReminderAccess; BOOL _hasContactsAccess; BOOL _isInternalTool; BOOL _isAccountsDaemon; struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _callAccountingLock; } @property (retain, nonatomic) NSObject<OS_xpc_object> *conn; @property (retain, nonatomic) NSMutableDictionary *watchedIDs; @property (retain, nonatomic) NSMutableDictionary *busyIDs; @property (retain, nonatomic) NSMutableDictionary *updatedIDs; @property (nonatomic) int numOutstandingBlockingClientCalls; @property (nonatomic) int numOutstandingRefreshPriorityClientCalls; @property (retain, nonatomic) NSMutableDictionary *accountTimers; @property (retain, nonatomic) NSMutableDictionary *actionDelegatesById; @property (retain, nonatomic) NSString *clientName; @property (nonatomic) int clientPID; @property (retain, nonatomic) NSString *clientBundleID; @property (retain, nonatomic) NSString *clientUniqueID; @property (retain, nonatomic) NSMutableDictionary *agentMonitoringTokens; @property (retain, nonatomic) NSCountedSet *simulatedCalDAVHostnames; @property (readonly, nonatomic) BOOL persistent; @property (readonly, nonatomic) unsigned long long outstandingStopMonitoringAgentRequests; + (BOOL)_shouldReloadAgentsForAccountChange:(id)a0; + (id)clientsToInterrogate; + (unsigned long long)permissionsForMessage:(id)a0; - (id)initWithClientID:(id)a0; - (void)dealloc; - (void)disable; - (id)_createReplyToRequest:(id)a0 withProperties:(id)a1; - (id)rawConnection; - (void)_foldersUpdated:(id)a0; - (void).cxx_destruct; - (void)_dispatchMessage:(id)a0; - (void)_handleAccountChange:(id)a0; - (BOOL)_isInternalTool; - (void)_agentsStopped:(id)a0; - (void)_setOfficeHoursEvent:(id)a0 eventDict:(id)a1; - (BOOL)isMonitoringAccountID:(id)a0 folderID:(id)a1; - (void)_asPolicyKeyChanged:(id)a0; - (void)_asyncProcessMeetingRequests:(id)a0; - (void)_beginDownloadingAttachmentEvent:(id)a0 eventDict:(id)a1; - (void)_beginMonitoringFolders:(id)a0; - (void)_cancelCalendarAvailabilityRequest:(id)a0 eventDict:(id)a1; - (void)_cancelCalendarDirectorySearch:(id)a0 eventDict:(id)a1; - (void)_cancelDownloadingAttachmentEvent:(id)a0 eventDict:(id)a1; - (void)_cancelDownloadingSubscribedCalendar:(id)a0 eventDict:(id)a1; - (void)_cancelGrantedDelegatesListRequest:(id)a0 eventDict:(id)a1; - (void)_cancelRestartingAgentsDueToTimeout; - (void)_cancelServerContactsSearch:(id)a0; - (BOOL)_checkAccessForMessage:(id)a0; - (BOOL)_checkAccountId:(id)a0; - (void)_checkIsOofSettingsSupported:(id)a0; - (void)_checkSubscribedCalendarIsJunk:(id)a0 eventDict:(id)a1; - (void)_clearAllStopMonitoringAgentsTokens; - (void)_clientDiedWithReason:(id)a0; - (void)_downloadSubscribedCalendar:(id)a0 eventDict:(id)a1; - (void)_endAllServerSimulations; - (void)_fetchHolidayCalendars:(id)a0 eventDict:(id)a1; - (void)_fetchOfficeHoursEvent:(id)a0 eventDict:(id)a1; - (void)_getCurrentPolicyKey:(id)a0; - (void)_getStatusReports:(id)a0; - (void)_handleURL:(id)a0; - (BOOL)_hasCalendarAccess; - (BOOL)_hasContactsAccess; - (BOOL)_hasReminderAccess; - (BOOL)_isAccountsDaemon; - (void)_manageCalDAVServerSimulatorWithHostname:(id)a0 action:(id)a1; - (void)_openServerContactsSearch:(id)a0; - (void)_openServerOofSettingsRequest:(id)a0; - (void)_performCalendarDirectorySearch:(id)a0 eventDict:(id)a1; - (void)_performGroupExpansion:(id)a0 eventDict:(id)a1; - (void)_processFolderChange:(id)a0; - (void)_processMeetingRequests:(id)a0; - (void)_registerForInterrogation:(id)a0; - (void)_removeBusyFolderIDs:(id)a0 forAccountWithID:(id)a1; - (void)_removeWatchedFolderIDs:(id)a0 forAccountWithID:(id)a1; - (void)_reportFolderItemsSyncResult:(id)a0; - (void)_reportSharedCalendarAsJunkEvent:(id)a0 eventDict:(id)a1; - (void)_reportSubscribedCalendarAsJunk:(id)a0 eventDict:(id)a1; - (void)_requestAllFolderContentsUpdate:(id)a0; - (void)_requestAllFolderContentsUpdateForAccountId:(id)a0 dataclasses:(long long)a1 isUserRequested:(BOOL)a2; - (void)_requestCalendarAvailability:(id)a0 eventDict:(id)a1; - (void)_requestClientStatusDump:(id)a0; - (void)_requestFolderContentsUpdate:(id)a0; - (void)_requestFolderContentsUpdateForFolders:(id)a0 accountId:(id)a1 dataclasses:(long long)a2 isUserRequested:(BOOL)a3; - (void)_requestFolderListUpdate:(id)a0; - (void)_requestFolderListUpdateForAccountId:(id)a0 dataclasses:(long long)a1 requireChangedFolders:(BOOL)a2 isUserRequested:(BOOL)a3; - (void)_requestGrantedDelegatesList:(id)a0 eventDict:(id)a1; - (void)_requestPolicyUpdate:(id)a0; - (void)_resetCertWarnings:(id)a0; - (void)_resetThrottleTimers:(id)a0; - (void)_respondToSharedCalendarEvent:(id)a0 eventDict:(id)a1; - (void)_restartAgentsDueToTimeout; - (void)_resumeMonitoringFolders:(id)a0; - (void)_sendAccessDeniedReplyForMessage:(id)a0; - (void)_sendInvalidAccountIDReplyToMessage:(id)a0 withAccountID:(id)a1; - (void)_setFolderIdsThatExternalClientsCareAbout:(id)a0; - (void)_setUserNameAndPasswordForSubscribedCalendar:(id)a0 eventDict:(id)a1; - (void)_startMonitoringAgents:(id)a0; - (void)_startMonitoringAgentsWithClientToken:(unsigned long long)a0 completion:(id /* block */)a1; - (void)_startMonitoringAgentsWithServerToken:(int)a0 completion:(id /* block */)a1; - (void)_startTimeoutWithClientToken:(unsigned long long)a0; - (void)_stopMonitoringAgents:(id)a0; - (void)_stopMonitoringAgentsWithClientToken:(unsigned long long)a0 completion:(id /* block */)a1; - (void)_stopMonitoringFolders:(id)a0; - (void)_suspendMonitoringFolders:(id)a0; - (void)_updateGrantedDelegatePermission:(id)a0 eventDict:(id)a1; - (void)applyClientStatusReportToAggregator:(id)a0; - (void)beginMonitoringPersistentFolders:(id)a0 forAccount:(id)a1; - (void)delegateWithIDIsGoingAway:(id)a0; - (void)exitBlockingCallAndSendReplyToRequest:(id)a0 withStatus:(long long)a1; - (id)initWithConnection:(id)a0 clientID:(id)a1; - (void)noteBlockedClientCallChange:(int)a0; - (void)noteRefreshClientCallChange:(int)a0; - (void)persistentClientCleanup; - (void)reconnectWithConnection:(id)a0; - (void)registerForInterrogation; - (id)timersForAccountWithID:(id)a0; - (void)unregisterForInterrogation; - (unsigned long long)watchedFolderCount; @end