![]() |
Quadcap Embeddable Server |
Inheritance diagram for com.quadcap.pop3.client.Agent:

A more sophisticated agent would scan the headers first and apply filters to certain messages without having to fetch the bodies.
Definition at line 61 of file Agent.java.
Public Member Functions | |
| Agent (String host, String user, String password) | |
| Create a new Agent with the specified profile name. | |
| void | run () |
| The Command callback object which invokes this agent. | |
Static Public Member Functions | |
| void | main (String[] args) |
Package Functions | |
| void | getAndDeleteMail () throws IOException |
| The simple delete from server case. | |
Package Attributes | |
| String | host |
| String | user |
| String | password |
| Session | pop3 = null |
|
||||||||||||||||
|
Create a new Agent with the specified profile name.
Definition at line 72 of file Agent.java. |
|
|
The simple delete from server case. Get all of the mail, put it in the right folder, then delete it from the server. Definition at line 114 of file Agent.java. References com.quadcap.pop3.client.Session.dele(), com.quadcap.pop3.client.Agent.pop3, com.quadcap.pop3.client.Session.retr(), com.quadcap.pop3.client.Session.stat(), and com.quadcap.pop3.client.Agent.user. Referenced by com.quadcap.pop3.client.Agent.run(). |
|
|
Definition at line 131 of file Agent.java. References com.quadcap.pop3.client.Agent.main(), and com.quadcap.pop3.client.Agent.run(). Referenced by com.quadcap.pop3.client.Agent.main(). |
|
|
The Command callback object which invokes this agent.
Definition at line 81 of file Agent.java. References com.quadcap.pop3.client.Session.connect(), com.quadcap.pop3.client.Agent.getAndDeleteMail(), com.quadcap.pop3.client.Agent.host, com.quadcap.pop3.client.Session.pass(), com.quadcap.pop3.client.Agent.password, com.quadcap.pop3.client.Agent.pop3, com.quadcap.pop3.client.Session.quit(), com.quadcap.pop3.client.Session.user(), and com.quadcap.pop3.client.Agent.user. Referenced by com.quadcap.pop3.client.Agent.main(). |
|
|
Definition at line 62 of file Agent.java. Referenced by com.quadcap.pop3.client.Agent.run(). |
|
|
Definition at line 64 of file Agent.java. Referenced by com.quadcap.pop3.client.Agent.run(). |
|
|
Definition at line 65 of file Agent.java. Referenced by com.quadcap.pop3.client.Agent.getAndDeleteMail(), and com.quadcap.pop3.client.Agent.run(). |
|
|
Definition at line 63 of file Agent.java. Referenced by com.quadcap.pop3.client.Agent.getAndDeleteMail(), and com.quadcap.pop3.client.Agent.run(). |