MCPcopy Create free account
hub / github.com/M66B/FairEmail / getProtocol

Method getProtocol

app/src/main/java/com/sun/mail/pop3/POP3Folder.java:590–595  ·  view source on GitHub ↗

Centralize access to the Protocol object by POP3Message objects so that they will fail appropriately when the folder is closed.

()

Source from the content-addressed store, hash-verified

588 * is closed.
589 */
590 Protocol getProtocol() throws MessagingException {
591 Protocol p = port; // read it before close() can set it to null
592 checkOpen();
593 // close() might happen here
594 return p;
595 }
596
597 /*
598 * Only here to make accessible to POP3Message.

Callers 6

POP3StoreMethod · 0.45
getSizeMethod · 0.45
getRawStreamMethod · 0.45
topMethod · 0.45
writeToMethod · 0.45
loadHeadersMethod · 0.45

Calls 1

checkOpenMethod · 0.95

Tested by

no test coverage detected