MCPcopy Create free account
hub / github.com/MailCore/mailcore2 / IMAPAsyncSession

Method IMAPAsyncSession

src/async/imap/MCIMAPAsyncSession.cpp:53–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51using namespace mailcore;
52
53IMAPAsyncSession::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
83IMAPAsyncSession::~IMAPAsyncSession()
84{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected