|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PopListener
Implements methods for capturing events sourced from Pop class. Typicaly
your application will implement this interface to capture the following
events :
PopConnectedEvent
PopDisconnectedEvent
PopCommandEvent
PopResponseEvent
PopMessageEvent
PopMessageProgressEvent
In addition to implementing this interface your application should register
itself as an EventListener which may look somewhat like this:
public class Application ... implements PopListener { ... public ... initMethod(...) { Pop pop = new Pop(); pop.addPopListener(this); } ... }
Method Summary | |
---|---|
void |
commandSent(PopCommandEvent event)
Invoked when command is sent to the POP3 server. |
void |
connected(PopConnectedEvent event)
Invoked when connection to POP3 server is established. |
void |
disconnected(PopDisconnectedEvent event)
Invoked when connection to POP3 server is released. |
void |
messageRetrieved(PopMessageEvent event)
Invoked when message is retrieved from POP3 server. |
void |
progress(PopMessageProgressEvent event)
Invoked frequently during the download process of a message from POP server. |
void |
responseReceived(PopResponseEvent event)
Invoked when a response is received from POP3 server. |
Method Detail |
---|
void connected(PopConnectedEvent event)
event
- a PopConnectedEvent
PopConnectedEvent
void disconnected(PopDisconnectedEvent event)
event
- a PopDisconnectedEvent
PopDisconnectedEvent
void messageRetrieved(PopMessageEvent event)
event
- a PopMessageEvent
PopMessageEvent
void progress(PopMessageProgressEvent event)
event
- a PopMessageProgressEvent
PopMessageProgressEvent
void commandSent(PopCommandEvent event)
event
- a PopCommandEvent
PopCommandEvent
void responseReceived(PopResponseEvent event)
event
- a PopResponseEvent
PopResponseEvent
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |