Only generate the synchronisation request in a file sendOpenML.xml in the synchro directory. Use tu see if the send synchro message is correctly generated.
Definition at line 47 of file ApacheHTTPClientSynchroConduit.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 openMSPMessage, 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.ApacheHTTPClientSynchroConduit.setSynchroPath | ( | String | path | ) |
define the path to the directory where synchro file are stored.
path |
Implements org.openmobileis.synchro.openmsp.client.conduit.SynchroConduit.
Definition at line 64 of file ApacheHTTPClientSynchroConduit.java.
Referenced by org.openmobileis.synchro.openmsp.protocol.test.TestOpenMSPSynchro.main(), and org.openmobileis.synchro.openmsp.client.services.DirectSynchroService.runTemplate().
void org.openmobileis.synchro.openmsp.client.conduit.ApacheHTTPClientSynchroConduit.setSynchroUserAgent | ( | String | userAgent | ) |
Set the synchro user use in synchro connection.
userAgent |
Implements org.openmobileis.synchro.openmsp.client.conduit.SynchroConduit.
Definition at line 72 of file ApacheHTTPClientSynchroConduit.java.
Referenced by org.openmobileis.synchro.openmsp.protocol.test.TestOpenMSPSynchro.main(), and org.openmobileis.synchro.openmsp.client.services.DirectSynchroService.runTemplate().
String org.openmobileis.synchro.openmsp.client.conduit.ApacheHTTPClientSynchroConduit.sendRequest | ( | ConduitParameter[] | parameters, | |
String | request, | |||
String | url | |||
) | throws SynchroException, UserNotFoundException |
Send the request to the server.
return a string containing the server response.
Implements org.openmobileis.synchro.openmsp.client.conduit.SynchroConduit.
Definition at line 80 of file ApacheHTTPClientSynchroConduit.java.
void org.openmobileis.synchro.openmsp.client.conduit.ApacheHTTPClientSynchroConduit.openRAS | ( | ) | throws SynchroException |
Open RAS connection.
: | isSSLRequired : boolean indicates wether or not is a SSL connection |
Implements org.openmobileis.synchro.openmsp.client.conduit.SynchroConduit.
Definition at line 218 of file ApacheHTTPClientSynchroConduit.java.
void org.openmobileis.synchro.openmsp.client.conduit.ApacheHTTPClientSynchroConduit.closeRAS | ( | ) | throws SynchroException |
Close RAS connection.
Implements org.openmobileis.synchro.openmsp.client.conduit.SynchroConduit.
Definition at line 229 of file ApacheHTTPClientSynchroConduit.java.
String org.openmobileis.synchro.openmsp.client.conduit.ApacheHTTPClientSynchroConduit.getRASConnectionNames | ( | ) |
return a list of all disponible ras connection.
Every connexion name is separated by a ; .
Implements org.openmobileis.synchro.openmsp.client.conduit.SynchroConduit.
Definition at line 239 of file ApacheHTTPClientSynchroConduit.java.
String org.openmobileis.synchro.openmsp.client.conduit.ApacheHTTPClientSynchroConduit.getIntallPath | ( | ) |
Return the directory path where synchronized file are stored.
Implements org.openmobileis.synchro.openmsp.client.conduit.SynchroConduit.
Definition at line 265 of file ApacheHTTPClientSynchroConduit.java.