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

Method fetchMessagesByUIDOperation

src/async/imap/MCIMAPAsyncSession.cpp:528–539  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

526}
527
528IMAPFetchMessagesOperation * IMAPAsyncSession::fetchMessagesByUIDOperation(String * folder, IMAPMessagesRequestKind requestKind,
529 IndexSet * uids)
530{
531 IMAPFetchMessagesOperation * op = new IMAPFetchMessagesOperation();
532 op->setMainSession(this);
533 op->setFolder(folder);
534 op->setKind(requestKind);
535 op->setFetchByUidEnabled(true);
536 op->setIndexes(uids);
537 op->autorelease();
538 return op;
539}
540
541IMAPFetchMessagesOperation * IMAPAsyncSession::fetchMessagesByNumberOperation(String * folder, IMAPMessagesRequestKind requestKind,
542 IndexSet * numbers)

Callers 1

testAsyncIMAPFunction · 0.45

Calls 6

setMainSessionMethod · 0.80
setFolderMethod · 0.80
setFetchByUidEnabledMethod · 0.80
setKindMethod · 0.45
setIndexesMethod · 0.45
autoreleaseMethod · 0.45

Tested by 1

testAsyncIMAPFunction · 0.36