Package org.luwrain.pim.mail.protocols
Class Pop3
java.lang.Object
org.luwrain.pim.fetching.Base
org.luwrain.pim.mail.protocols.Pop3
- All Implemented Interfaces:
MailConnections.Listener
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fetch()
void
numberOfNewMessages
(int count, boolean haveMore) boolean
saveMessage
(byte[] bytes, int num, int total) Methods inherited from class org.luwrain.pim.fetching.Base
checkInterrupted, crash, createMailServerParams, message
-
Constructor Details
-
Pop3
public Pop3(Control control, Strings strings) throws FetchingException, PimException, InterruptedException
-
-
Method Details
-
fetch
- Throws:
InterruptedException
-
numberOfNewMessages
public void numberOfNewMessages(int count, boolean haveMore) - Specified by:
numberOfNewMessages
in interfaceMailConnections.Listener
-
saveMessage
public boolean saveMessage(byte[] bytes, int num, int total) - Specified by:
saveMessage
in interfaceMailConnections.Listener
-