public interface ImapListener
extends java.util.EventListener
public class Application ... implements ImapListener { ... public ... initMethod(...) { Imap imap = new Imap(); imap.addImapListener(this); } ... }
Modifier and Type | Method and Description |
---|---|
void |
commandSent(ImapCommandEvent event)
Invoked when command is sent to the IMAP server
|
void |
connected(ImapConnectedEvent event)
Invoked when connection to IMAP server is established.
|
void |
disconnected(ImapDisconnectedEvent event)
Invoked when connection to IMAP server is released.
|
void |
messageRetrieved(ImapMessageEvent event)
Invoked when message is retrieved from IMAP server.
|
void |
progress(ImapMessageProgressEvent event)
Invoked frequently during the download process of a message from IMAP server
|
void |
responseReceived(ImapResponseEvent event)
Invoked when a response is received from IMAP server
|
void connected(ImapConnectedEvent event)
event
- a ImapConnectedEvent
ImapConnectedEvent
void disconnected(ImapDisconnectedEvent event)
event
- a ImapDisconnectedEvent
ImapDisconnectedEvent
void messageRetrieved(ImapMessageEvent event)
event
- a ImapMessageEvent
ImapMessageEvent
void progress(ImapMessageProgressEvent event)
event
- a ImapMessageProgressEvent
ImapMessageProgressEvent
void commandSent(ImapCommandEvent event)
event
- a ImapCommandEvent
ImapCommandEvent
void responseReceived(ImapResponseEvent event)
event
- a ImapResponseEvent
ImapResponseEvent
Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved