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

java.lang.Objectorg.ematgine.threads.ematgine_thread
org.ematgine.threads.ematgine_service
org.ematgine.threads.ematgine_service_user_connection
org.ematgine.threads.services.S1005.S1005_command_launcher
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener, java.lang.Runnable
- public class S1005_command_launcher
- extends org.ematgine.threads.ematgine_service_user_connection
This class implements the thread in charge of corresponding with the email server and the user base. It is the main thread of the eMATgine server.
| Field Summary | |
private java.lang.String |
bt_download_directory
the bittorrent local directory |
private java.lang.String |
bt_executable
the bittorrent executable |
private int |
request_number
Description of the Field |
static int |
S1005_TORRENT
PDU type: S1005_TORRENT to launch torrent download |
| Fields inherited from class org.ematgine.threads.ematgine_service_user_connection |
|
| 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 | |
S1005_command_launcher(java.lang.String Sservice_number,
java.util.Hashtable queueParams,
java.util.Hashtable semaphoreParams,
java.lang.String home_directory)
Constructor that downloads the server configuration from the database |
|
| Method Summary | |
boolean |
analyse_PDU(java.util.Vector all_pdu)
analyse the received PDUs |
private java.util.Hashtable |
define_default_values()
define the default values for a new user |
void |
run()
This method will be called by whoever wishes to run your class implementing Runnable. |
private org.ematgine.utils.requests.PDU_request |
send_getNotRegisteredUser(java.lang.String identity)
Description of the Method |
private org.ematgine.utils.requests.PDU_request |
send_setNotRegisteredUser(java.lang.String identity,
java.lang.String mailboxsize,
java.lang.String number)
Description of the Method |
private org.ematgine.utils.requests.PDU_request |
send_setNotRegisteredUserRequest(java.lang.String identity,
java.lang.String URL)
Description of the Method |
void |
serviceTreatment(org.ematgine.utils.requests.PDU_request treated_pdu,
int thread_number)
calls to S1005 sub threads for request treatments |
void |
starting()
Description of the Method |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
S1005_TORRENT
public static final int S1005_TORRENT
- PDU type: S1005_TORRENT to launch torrent download
- See Also:
- Constant Field Values
request_number
private int request_number
- Description of the Field
bt_executable
private java.lang.String bt_executable
- the bittorrent executable
bt_download_directory
private java.lang.String bt_download_directory
- the bittorrent local directory
| Constructor Detail |
S1005_command_launcher
public S1005_command_launcher(java.lang.String Sservice_number, java.util.Hashtable queueParams, java.util.Hashtable semaphoreParams, java.lang.String home_directory)
- Constructor that downloads the server configuration from the database
| Method Detail |
starting
public void starting()
- Description of the Method
run
public void run()
- Description copied from interface:
java.lang.Runnable - This method will be called by whoever wishes to run your class
implementing Runnable. Note that there are no restrictions on what
you are allowed to do in the run method, except that you cannot
throw a checked exception.
analyse_PDU
public boolean analyse_PDU(java.util.Vector all_pdu)
- analyse the received PDUs
serviceTreatment
public void serviceTreatment(org.ematgine.utils.requests.PDU_request treated_pdu, int thread_number)
- calls to S1005 sub threads for request treatments
define_default_values
private java.util.Hashtable define_default_values()
- define the default values for a new user
send_getNotRegisteredUser
private org.ematgine.utils.requests.PDU_request send_getNotRegisteredUser(java.lang.String identity)
- Description of the Method
send_setNotRegisteredUser
private org.ematgine.utils.requests.PDU_request send_setNotRegisteredUser(java.lang.String identity, java.lang.String mailboxsize, java.lang.String number)
- Description of the Method
send_setNotRegisteredUserRequest
private org.ematgine.utils.requests.PDU_request send_setNotRegisteredUserRequest(java.lang.String identity, java.lang.String URL)
- Description of the Method
|
|||||||||
| Home >> All >> org >> ematgine >> threads >> services >> [ S1005 overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC