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

Method fetchMessagesByNumberOperation

src/async/imap/MCIMAPAsyncSession.cpp:541–551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

539}
540
541IMAPFetchMessagesOperation * IMAPAsyncSession::fetchMessagesByNumberOperation(String * folder, IMAPMessagesRequestKind requestKind,
542 IndexSet * numbers)
543{
544 IMAPFetchMessagesOperation * op = new IMAPFetchMessagesOperation();
545 op->setMainSession(this);
546 op->setFolder(folder);
547 op->setKind(requestKind);
548 op->setIndexes(numbers);
549 op->autorelease();
550 return op;
551}
552
553IMAPFetchMessagesOperation * IMAPAsyncSession::syncMessagesByUIDOperation(String * folder, IMAPMessagesRequestKind requestKind,
554 IndexSet * uids, uint64_t modSeq)

Callers 1

onCreateMethod · 0.45

Calls 5

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

Tested by

no test coverage detected