Inheritance diagram for org.openmobileis.synchro.openmsp.client.conduit.LocalOpenMSPSynchroConduit:
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 48 of file LocalOpenMSPSynchroConduit.java.
Public Member Functions | |
LocalOpenMSPSynchroConduit (String synchroDirectoryPath, String userAgent) | |
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. |
String org.openmobileis.synchro.openmsp.client.conduit.LocalOpenMSPSynchroConduit.sendRequest | ( | ConduitParameter[] | parameters, | |
String | openMSPMessage, | |||
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 62 of file LocalOpenMSPSynchroConduit.java.
References org.openmobileis.test.mock.embedded.MockHttpServletRequest.addParameter(), org.openmobileis.test.mock.embedded.MockHttpServletRequest.headerNames, org.openmobileis.test.mock.embedded.MockHttpServletRequest.headerValues, org.openmobileis.test.mock.embedded.MockHttpServletResponse.outStream, org.openmobileis.synchro.openmsp.server.OpenMSPService.run(), and org.openmobileis.test.mock.embedded.MockHttpServletResponse.status.
void org.openmobileis.synchro.openmsp.client.conduit.LocalOpenMSPSynchroConduit.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 121 of file LocalOpenMSPSynchroConduit.java.
void org.openmobileis.synchro.openmsp.client.conduit.LocalOpenMSPSynchroConduit.closeRAS | ( | ) | throws SynchroException |
Close RAS connection.
Implements org.openmobileis.synchro.openmsp.client.conduit.SynchroConduit.
Definition at line 128 of file LocalOpenMSPSynchroConduit.java.
String org.openmobileis.synchro.openmsp.client.conduit.LocalOpenMSPSynchroConduit.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 131 of file LocalOpenMSPSynchroConduit.java.
String org.openmobileis.synchro.openmsp.client.conduit.LocalOpenMSPSynchroConduit.getIntallPath | ( | ) |
Return the directory path where synchronized file are stored.
Implements org.openmobileis.synchro.openmsp.client.conduit.SynchroConduit.
Definition at line 135 of file LocalOpenMSPSynchroConduit.java.