| 51 | using namespace mailcore; |
| 52 | |
| 53 | IMAPAsyncSession::IMAPAsyncSession() |
| 54 | { |
| 55 | mSessions = new Array(); |
| 56 | mMaximumConnections = DEFAULT_MAX_CONNECTIONS; |
| 57 | mAllowsFolderConcurrentAccessEnabled = true; |
| 58 | |
| 59 | mHostname = NULL; |
| 60 | mPort = 0; |
| 61 | mUsername = NULL; |
| 62 | mPassword = NULL; |
| 63 | mOAuth2Token = NULL; |
| 64 | mAuthType = AuthTypeSASLNone; |
| 65 | mConnectionType = ConnectionTypeClear; |
| 66 | mCheckCertificateEnabled = true; |
| 67 | mVoIPEnabled = true; |
| 68 | mDefaultNamespace = NULL; |
| 69 | mTimeout = 30.; |
| 70 | mConnectionLogger = NULL; |
| 71 | mAutomaticConfigurationDone = false; |
| 72 | mServerIdentity = new IMAPIdentity(); |
| 73 | mClientIdentity = new IMAPIdentity(); |
| 74 | mOperationQueueCallback = NULL; |
| 75 | #if __APPLE__ |
| 76 | mDispatchQueue = dispatch_get_main_queue(); |
| 77 | #endif |
| 78 | mGmailUserDisplayName = NULL; |
| 79 | mQueueRunning = false; |
| 80 | mIdleEnabled = false; |
| 81 | } |
| 82 | |
| 83 | IMAPAsyncSession::~IMAPAsyncSession() |
| 84 | { |
nothing calls this directly
no outgoing calls
no test coverage detected