|
Secure iNet Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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 |
public void connected(ImapConnectedEvent event)
event - a ImapConnectedEventImapConnectedEventpublic void disconnected(ImapDisconnectedEvent event)
event - a ImapDisconnectedEventImapDisconnectedEventpublic void messageRetrieved(ImapMessageEvent event)
event - a ImapMessageEventImapMessageEventpublic void progress(ImapMessageProgressEvent event)
event - a ImapMessageProgressEventImapMessageProgressEventpublic void commandSent(ImapCommandEvent event)
event - a ImapCommandEventImapCommandEventpublic void responseReceived(ImapResponseEvent event)
event - a ImapResponseEventImapResponseEvent
|
Secure iNet Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||