org.openmobileis.synchro.openmsp.client.conduit.LocalOpenMSPSynchroConduit Class Reference

Inheritance diagram for org.openmobileis.synchro.openmsp.client.conduit.LocalOpenMSPSynchroConduit:

org.openmobileis.synchro.openmsp.client.conduit.SynchroConduit List of all members.

Detailed Description

Title: OpenMobileIS project source
Description: Synchronisation conduit use for debug purpose.

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.

Author:
Philippe Delrieu
Since:
JDK 1.1
Version:
1.0.

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.


Member Function Documentation

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.

Parameters:
: isSSLRequired : boolean indicates wether or not is a SSL connection
Returns:
:

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.

Returns:

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.

Returns:

Implements org.openmobileis.synchro.openmsp.client.conduit.SynchroConduit.

Definition at line 135 of file LocalOpenMSPSynchroConduit.java.


The documentation for this class was generated from the following file:
Generated on Mon Dec 4 11:03:42 2006 for OpenMobileIS by  doxygen 1.5.1-p1