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

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

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:
Manuel Gomez-Rosado
Version:
1.0.
Use the Apache library HTTPClient

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.

Member Function Documentation

void org.openmobileis.synchro.openmsp.client.conduit.ApacheHTTPClientSynchroConduit.setSynchroPath ( String  path  ) 

define the path to the directory where synchro file are stored.

Parameters:
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.

Parameters:
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.

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

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.

Returns:

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.

Returns:

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

Definition at line 265 of file ApacheHTTPClientSynchroConduit.java.


The documentation for this class was generated from the following file:
Generated on Mon Jan 11 21:19:23 2010 for OpenMobileIS by  doxygen 1.5.4