A synchronisation conduit manage all physical connection process to the nomdLink server. The connexion protocol and OS native access is managed by the conexion conduit.
Definition at line 40 of file SynchroConduit.java.
Public Member Functions | |
void | setSynchroPath (String path) |
define the path to the directory where synchro file are stored. | |
void | setSynchroUserAgent (String userAgent) |
Set the synchro user use in synchro connection. | |
boolean | isConnected () |
Return true if it exists a connexion to internet or desktop. | |
String | sendRequest (ConduitParameter[] parameters, String request, String url) throws SynchroException, UserNotFoundException |
Send the request to the server. | |
void | openRAS () throws SynchroException |
Open RAS connection. | |
void | closeRAS () throws SynchroException |
Close RAS connection. | |
String | getRASConnectionNames () |
return a list of all disponible ras connection. | |
String | getIntallPath () |
Return the directory path where synchronized file are stored. |
void org.openmobileis.synchro.openmsp.client.conduit.SynchroConduit.setSynchroPath | ( | String | path | ) |
define the path to the directory where synchro file are stored.
path |
Implemented in org.openmobileis.synchro.openmsp.client.conduit.ApacheHTTPClientSynchroConduit, org.openmobileis.synchro.openmsp.client.conduit.HTTPFileClientSynchroConduit, org.openmobileis.synchro.openmsp.client.conduit.HttpOpenMSPSynchroConduit, org.openmobileis.synchro.openmsp.client.conduit.LocalOpenMSPSynchroConduit, and org.openmobileis.test.mock.synchro.MockSynchroConduit.
Referenced by org.openmobileis.synchro.openmsp.client.services.DirectSynchroService.runTemplate().
void org.openmobileis.synchro.openmsp.client.conduit.SynchroConduit.setSynchroUserAgent | ( | String | userAgent | ) |
Set the synchro user use in synchro connection.
userAgent |
Implemented in org.openmobileis.synchro.openmsp.client.conduit.ApacheHTTPClientSynchroConduit, org.openmobileis.synchro.openmsp.client.conduit.HTTPFileClientSynchroConduit, org.openmobileis.synchro.openmsp.client.conduit.HttpOpenMSPSynchroConduit, org.openmobileis.synchro.openmsp.client.conduit.LocalOpenMSPSynchroConduit, and org.openmobileis.test.mock.synchro.MockSynchroConduit.
Referenced by org.openmobileis.synchro.openmsp.client.services.DirectSynchroService.runTemplate().
String org.openmobileis.synchro.openmsp.client.conduit.SynchroConduit.sendRequest | ( | ConduitParameter[] | parameters, | |
String | request, | |||
String | url | |||
) | throws SynchroException, UserNotFoundException |
Send the request to the server.
return a string containing the server response.
Implemented in org.openmobileis.synchro.openmsp.client.conduit.ApacheHTTPClientSynchroConduit, org.openmobileis.synchro.openmsp.client.conduit.HTTPFileClientSynchroConduit, org.openmobileis.synchro.openmsp.client.conduit.HttpOpenMSPSynchroConduit, org.openmobileis.synchro.openmsp.client.conduit.LocalOpenMSPSynchroConduit, and org.openmobileis.test.mock.synchro.MockSynchroConduit.
void org.openmobileis.synchro.openmsp.client.conduit.SynchroConduit.openRAS | ( | ) | throws SynchroException |
Open RAS connection.
: | isSSLRequired : boolean indicates wether or not is a SSL connection |
Implemented in org.openmobileis.synchro.openmsp.client.conduit.ApacheHTTPClientSynchroConduit, org.openmobileis.synchro.openmsp.client.conduit.HTTPFileClientSynchroConduit, org.openmobileis.synchro.openmsp.client.conduit.HttpOpenMSPSynchroConduit, org.openmobileis.synchro.openmsp.client.conduit.LocalOpenMSPSynchroConduit, and org.openmobileis.test.mock.synchro.MockSynchroConduit.
void org.openmobileis.synchro.openmsp.client.conduit.SynchroConduit.closeRAS | ( | ) | throws SynchroException |
Close RAS connection.
Implemented in org.openmobileis.synchro.openmsp.client.conduit.ApacheHTTPClientSynchroConduit, org.openmobileis.synchro.openmsp.client.conduit.HTTPFileClientSynchroConduit, org.openmobileis.synchro.openmsp.client.conduit.HttpOpenMSPSynchroConduit, org.openmobileis.synchro.openmsp.client.conduit.LocalOpenMSPSynchroConduit, and org.openmobileis.test.mock.synchro.MockSynchroConduit.
String org.openmobileis.synchro.openmsp.client.conduit.SynchroConduit.getRASConnectionNames | ( | ) |
return a list of all disponible ras connection.
Every connexion name is separated by a ; .
Implemented in org.openmobileis.synchro.openmsp.client.conduit.ApacheHTTPClientSynchroConduit, org.openmobileis.synchro.openmsp.client.conduit.HTTPFileClientSynchroConduit, org.openmobileis.synchro.openmsp.client.conduit.HttpOpenMSPSynchroConduit, org.openmobileis.synchro.openmsp.client.conduit.LocalOpenMSPSynchroConduit, and org.openmobileis.test.mock.synchro.MockSynchroConduit.
String org.openmobileis.synchro.openmsp.client.conduit.SynchroConduit.getIntallPath | ( | ) |
Return the directory path where synchronized file are stored.
Implemented in org.openmobileis.synchro.openmsp.client.conduit.ApacheHTTPClientSynchroConduit, org.openmobileis.synchro.openmsp.client.conduit.HTTPFileClientSynchroConduit, org.openmobileis.synchro.openmsp.client.conduit.HttpOpenMSPSynchroConduit, org.openmobileis.synchro.openmsp.client.conduit.LocalOpenMSPSynchroConduit, and org.openmobileis.test.mock.synchro.MockSynchroConduit.