|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImapListener
Implements methods for capturing connected and disconnected events from Imap class. It also captures an event indicating retreival of a message. Your application should implement this interface to capture the events of data flow between remote host and local machine.
public class Application ... implements ImapListener { ... public ... initMethod(...) { Imap imap = new Imap(); imap.addImapListener(this); } ... }
Method Summary | |
---|---|
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 |
Method Detail |
---|
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
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |