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

Method idle

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

Use the IMAP IDLE command (see RFC 2177 ), if supported by the server, to enter idle mode so that the server can send unsolicited notifications of new messages arriving, etc. without the need for the client to constantly poll the server. Use an approp

()

Source from the content-addressed store, hash-verified

3147 * @since JavaMail 1.4.1
3148 */
3149 public void idle() throws MessagingException {
3150 idle(false);
3151 }
3152
3153 /**
3154 * Like {@link #idle}, but if <code>once</code> is true, abort the

Callers

nothing calls this directly

Calls 4

startIdleMethod · 0.95
handleIdleMethod · 0.95
getMinIdleTimeMethod · 0.80
getChannelMethod · 0.45

Tested by

no test coverage detected