|
|||||||||
| Home >> All >> org >> ematgine >> threads >> [ admin overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.ematgine.threads.admin
Class S6_mail_reader

java.lang.Objectorg.ematgine.threads.ematgine_thread
org.ematgine.threads.ematgine_service
org.ematgine.threads.admin.S6_mail_reader
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener, java.lang.Runnable
- public class S6_mail_reader
- extends org.ematgine.threads.ematgine_service
This class implements the thread in charge of corresponding with the email server in order to treat requests sent by mail by eMATgine server's users..
| Field Summary | |
private java.lang.String |
localDirectory
local disk directory where file attachements will be saved |
private org.ematgine.utils.javamail.input.InputJavamail |
pop3
Input object to perform connections with the mail server |
| Fields inherited from class org.ematgine.threads.ematgine_service |
eMATgineServerHomeDirectory, internal_communication_channels, service_configuration |
| Fields inherited from class org.ematgine.threads.ematgine_thread |
internal_requests, killed, PDU_number, queues, runner, semaphores, stopped, sub_thread_name, the_thread, thread_name |
| Constructor Summary | |
S6_mail_reader()
Constructor for the S6_mail_reader object |
|
S6_mail_reader(java.lang.String Sservice_number,
java.util.Hashtable queueParams,
java.util.Hashtable semaphoreParams,
java.lang.String serverDir)
Constructor that downloads the server configuration from the database |
|
| Method Summary | |
private boolean |
analyse_PDU(java.util.Vector all_pdu)
analyse the received PDUs |
private void |
definePOP3ServerConfiguration()
|
private boolean |
retrieveMessageFromPOP3Server()
Get the information on the messages and retrieve the content of each message. |
void |
run()
Main processing method for the S6_mail_reader object |
private java.lang.String |
suppress_caracter(java.lang.String the_string_to_modified,
java.lang.String the_string_to_suppress)
There can't be any " caracter in a mysql database |
private void |
test_change_password(java.lang.String email_address,
java.lang.String old_password,
java.lang.String new_password)
A unit test for JUnit |
private void |
test_S1000_http(java.lang.String email_address)
A unit test for JUnit |
private void |
test_subscribe_S1000(java.lang.String email_address)
A unit test for JUnit |
private void |
test_subscribe_server(java.lang.String email_address)
A unit test for JUnit |
private void |
test_unsubscribe_S1000(java.lang.String email_address,
java.lang.String password)
A unit test for JUnit |
private void |
test_unsubscribe_server(java.lang.String email_address,
java.lang.String password)
A unit test for JUnit |
private void |
test()
A unit test for JUnit |
private void |
test2()
A unit test for JUnit |
private void |
treat(java.util.Hashtable request)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
pop3
private org.ematgine.utils.javamail.input.InputJavamail pop3
- Input object to perform connections with the mail server
localDirectory
private java.lang.String localDirectory
- local disk directory where file attachements will be saved
| Constructor Detail |
S6_mail_reader
public S6_mail_reader(java.lang.String Sservice_number, java.util.Hashtable queueParams, java.util.Hashtable semaphoreParams, java.lang.String serverDir)
- Constructor that downloads the server configuration from the database
S6_mail_reader
public S6_mail_reader()
- Constructor for the S6_mail_reader object
| Method Detail |
run
public void run()
- Main processing method for the S6_mail_reader object
definePOP3ServerConfiguration
private void definePOP3ServerConfiguration()
throws java.lang.Exception
retrieveMessageFromPOP3Server
private boolean retrieveMessageFromPOP3Server()
throws java.lang.Exception
- Get the information on the messages and retrieve the content of each
message.
treat
private void treat(java.util.Hashtable request) throws java.lang.Exception
analyse_PDU
private boolean analyse_PDU(java.util.Vector all_pdu)
- analyse the received PDUs
test
private void test()
- A unit test for JUnit
test2
private void test2()
- A unit test for JUnit
test_subscribe_S1000
private void test_subscribe_S1000(java.lang.String email_address)
- A unit test for JUnit
test_subscribe_server
private void test_subscribe_server(java.lang.String email_address)
- A unit test for JUnit
test_unsubscribe_S1000
private void test_unsubscribe_S1000(java.lang.String email_address, java.lang.String password)
- A unit test for JUnit
test_unsubscribe_server
private void test_unsubscribe_server(java.lang.String email_address, java.lang.String password)
- A unit test for JUnit
test_change_password
private void test_change_password(java.lang.String email_address, java.lang.String old_password, java.lang.String new_password)
- A unit test for JUnit
test_S1000_http
private void test_S1000_http(java.lang.String email_address)
- A unit test for JUnit
suppress_caracter
private java.lang.String suppress_caracter(java.lang.String the_string_to_modified, java.lang.String the_string_to_suppress)
- There can't be any " caracter in a mysql database
|
|||||||||
| Home >> All >> org >> ematgine >> threads >> [ admin overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC