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

Method isOpen

app/src/main/java/com/sun/mail/imap/IMAPFolder.java:1608–1620  ·  view source on GitHub ↗

Check whether this connection is really open.

()

Source from the content-addressed store, hash-verified

1606 * Check whether this connection is really open.
1607 */
1608 @Override
1609 public synchronized boolean isOpen() {
1610 synchronized(messageCacheLock) {
1611 // Probe the connection to make sure its really open.
1612 if (opened) {
1613 try {
1614 keepConnectionAlive(false);
1615 } catch (ProtocolException pex) { }
1616 }
1617 }
1618
1619 return opened;
1620 }
1621
1622 /**
1623 * Return the permanent flags supported by the server.

Callers 3

onMoveMethod · 0.95
onDeleteMethod · 0.95
watchMethod · 0.45

Calls 1

keepConnectionAliveMethod · 0.95

Tested by

no test coverage detected