|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.inet.imap.ImapAdapter
public class ImapAdapter
Implements methods for capturing events sourced from Imap class. This class
is intended to provide vertical compatibility with ImapListener interface.
Typicaly your application will use this class instead of PopListener
interface to capture the following events :
ImapConnectedEvent
ImapDisconnectedEvent
ImapCommandEvent
ImapResponseEvent
ImapMessageEvent
Constructor Summary | |
---|---|
ImapAdapter()
|
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImapAdapter()
Method Detail |
---|
public void commandSent(ImapCommandEvent event)
commandSent
in interface ImapListener
event
- a ImapCommandEvent
ImapCommandEvent
public void connected(ImapConnectedEvent event)
connected
in interface ImapListener
event
- a ImapConnectedEvent
ImapConnectedEvent
public void disconnected(ImapDisconnectedEvent event)
disconnected
in interface ImapListener
event
- a ImapDisconnectedEvent
ImapDisconnectedEvent
public void messageRetrieved(ImapMessageEvent event)
messageRetrieved
in interface ImapListener
event
- a ImapMessageEvent
ImapMessageEvent
public void progress(ImapMessageProgressEvent event)
progress
in interface ImapListener
event
- a ImapMessageProgressEvent
ImapMessageProgressEvent
public void responseReceived(ImapResponseEvent event)
responseReceived
in interface ImapListener
event
- a ImapResponseEvent
ImapResponseEvent
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |