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

Method SMTPAsyncSession

src/async/smtp/MCSMTPAsyncSession.cpp:64–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64SMTPAsyncSession::SMTPAsyncSession()
65{
66 mSession = new SMTPSession();
67 mQueue = new OperationQueue();
68 mQueueCallback = new SMTPOperationQueueCallback(this);
69 mQueue->setCallback(mQueueCallback);
70 mConnectionLogger = NULL;
71 pthread_mutex_init(&mConnectionLoggerLock, NULL);
72 mInternalLogger = new SMTPConnectionLogger(this);
73 mSession->setConnectionLogger(mInternalLogger);
74 mOperationQueueCallback = NULL;
75}
76
77SMTPAsyncSession::~SMTPAsyncSession()
78{

Callers

nothing calls this directly

Calls 2

setCallbackMethod · 0.45
setConnectionLoggerMethod · 0.45

Tested by

no test coverage detected