Definition at line 37 of file MockSynchroConduit.java.
Public Member Functions | |
void | closeRAS () throws SynchroException |
Close RAS connection. | |
String | getIntallPath () |
Return the directory path where synchronized file are stored. | |
String | getRASConnectionNames () |
return a list of all disponible ras connection. | |
boolean | isConnected () |
Return true if it exists a connexion to internet or desktop. | |
void | openRAS () throws SynchroException |
Open RAS connection. | |
String | sendRequest (ConduitParameter[] parameters, String request, String url) throws SynchroException, UserNotFoundException |
Send the request to the server. | |
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. |
void org.openmobileis.test.mock.synchro.MockSynchroConduit.closeRAS | ( | ) | throws SynchroException |
Close RAS connection.
Implements org.openmobileis.synchro.openmsp.client.conduit.SynchroConduit.
Definition at line 49 of file MockSynchroConduit.java.
String org.openmobileis.test.mock.synchro.MockSynchroConduit.getIntallPath | ( | ) |
Return the directory path where synchronized file are stored.
Implements org.openmobileis.synchro.openmsp.client.conduit.SynchroConduit.
Definition at line 55 of file MockSynchroConduit.java.
String org.openmobileis.test.mock.synchro.MockSynchroConduit.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 62 of file MockSynchroConduit.java.
void org.openmobileis.test.mock.synchro.MockSynchroConduit.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 76 of file MockSynchroConduit.java.
String org.openmobileis.test.mock.synchro.MockSynchroConduit.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 82 of file MockSynchroConduit.java.
void org.openmobileis.test.mock.synchro.MockSynchroConduit.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 89 of file MockSynchroConduit.java.
void org.openmobileis.test.mock.synchro.MockSynchroConduit.setSynchroUserAgent | ( | String | userAgent | ) |
Set the synchro user use in synchro connection.
userAgent |
Implements org.openmobileis.synchro.openmsp.client.conduit.SynchroConduit.
Definition at line 96 of file MockSynchroConduit.java.