IdleInfo Event

Fires whenever responses from the server are received while idling.


public class DefaultImapEventListener implements ImapEventListener {
  public void idleInfo(ImapIdleInfoEvent e) {}

public class ImapIdleInfoEvent {
  public String message;
  public boolean cancel;


This event fires each time a response is received from the server after calling StartIdle. This will fire with information from the server intended to update the client. The type of data sent by the server may vary.

Message holds the response received from the server.

Cancel may be set to stop idling from within the event. This is equivalent to calling StopIdle.

Some possible values returned by the server are:

+ idling

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 Java Edition - Version 20.0 [Build 8162]