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 49 of file HTTPFileClientSynchroConduit.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.HTTPFileClientSynchroConduit.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 72 of file HTTPFileClientSynchroConduit.java.
void org.openmobileis.synchro.openmsp.client.conduit.HTTPFileClientSynchroConduit.setSynchroUserAgent | ( | String | userAgent | ) |
Set the synchro user use in synchro connection.
userAgent |
Implements org.openmobileis.synchro.openmsp.client.conduit.SynchroConduit.
Definition at line 81 of file HTTPFileClientSynchroConduit.java.
String org.openmobileis.synchro.openmsp.client.conduit.HTTPFileClientSynchroConduit.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 89 of file HTTPFileClientSynchroConduit.java.
References org.openmobileis.common.util.file.HTTPFileConduit.startListening().
void org.openmobileis.synchro.openmsp.client.conduit.HTTPFileClientSynchroConduit.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 226 of file HTTPFileClientSynchroConduit.java.
void org.openmobileis.synchro.openmsp.client.conduit.HTTPFileClientSynchroConduit.closeRAS | ( | ) | throws SynchroException |
Close RAS connection.
Implements org.openmobileis.synchro.openmsp.client.conduit.SynchroConduit.
Definition at line 235 of file HTTPFileClientSynchroConduit.java.
String org.openmobileis.synchro.openmsp.client.conduit.HTTPFileClientSynchroConduit.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 243 of file HTTPFileClientSynchroConduit.java.
String org.openmobileis.synchro.openmsp.client.conduit.HTTPFileClientSynchroConduit.getIntallPath | ( | ) |
Return the directory path where synchronized file are stored.
Implements org.openmobileis.synchro.openmsp.client.conduit.SynchroConduit.
Definition at line 247 of file HTTPFileClientSynchroConduit.java.