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

Method POPAsyncSession

src/async/pop/MCPOPAsyncSession.cpp:71–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71POPAsyncSession::POPAsyncSession()
72{
73 mSession = new POPSession();
74 mQueue = new OperationQueue();
75 mQueueCallback = new POPOperationQueueCallback(this);
76 mQueue->setCallback(mQueueCallback);
77 mConnectionLogger = NULL;
78 pthread_mutex_init(&mConnectionLoggerLock, NULL);
79 mInternalLogger = new POPConnectionLogger(this);
80 mSession->setConnectionLogger(mInternalLogger);
81 mOperationQueueCallback = NULL;
82}
83
84POPAsyncSession::~POPAsyncSession()
85{

Callers

nothing calls this directly

Calls 2

setCallbackMethod · 0.45
setConnectionLoggerMethod · 0.45

Tested by

no test coverage detected