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

Method IMAPAsyncConnection

src/async/imap/MCIMAPAsyncConnection.cpp:99–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99IMAPAsyncConnection::IMAPAsyncConnection()
100{
101 mSession = new IMAPSession();
102 mQueue = new OperationQueue();
103 mDefaultNamespace = NULL;
104 mClientIdentity = new IMAPIdentity();
105 mLastFolder = NULL;
106 mQueueCallback = new IMAPOperationQueueCallback(this);
107 mQueue->setCallback(mQueueCallback);
108 mOwner = NULL;
109 mConnectionLogger = NULL;
110 pthread_mutex_init(&mConnectionLoggerLock, NULL);
111 mInternalLogger = new IMAPConnectionLogger(this);
112 mAutomaticConfigurationEnabled = true;
113 mQueueRunning = false;
114 mScheduledAutomaticDisconnect = false;
115}
116
117IMAPAsyncConnection::~IMAPAsyncConnection()
118{

Callers

nothing calls this directly

Calls 1

setCallbackMethod · 0.45

Tested by

no test coverage detected