| java.lang.Object com.quadcap.pop3.client.Pop3Agent
Pop3Agent | public class Pop3Agent (Code) | | This simple Pop3 agent transfers all new messages in a remote Pop3
mailbox into the specified folder in the quadcap message store.
A more sophisticated agent would scan the headers first and apply
filters to certain messages without having to fetch the bodies.
author: Stan Bailes |
portNumber | int portNumber(Code) | | |
Pop3Agent | public Pop3Agent()(Code) | | Default constructor for factory
|
deleteMessages | void deleteMessages(ArrayList v) throws IOException(Code) | | Delete the specified list of messages.
Parameters: v - a ArrayList of UidlEntry types, specifying themessages to delete. |
getMessages | void getMessages(MessageHook hook, ArrayList v) throws IOException(Code) | | Get the specified list of messages.
Parameters: v - a ArrayList of UidlEntry types, specifying the messages to get. |
getUidlEntry | UidlEntry getUidlEntry(String uidl)(Code) | | Search the map for a specified UIDL entry.
Parameters: uidl - the UIDL text to search for if found, the corresponding entry in the map. Otherwise, null. |
putUidlEntry | UidlEntry putUidlEntry(String uidl, int msgNum, Date d)(Code) | | Create and store a new UidlEntry in the map.
Parameters: uidl - the UIDL text Parameters: msgNum - the current POP3 session's message number. Parameters: d - the date for this entry. the new UidlEntry |
|
|