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