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

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

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

Member Function Documentation

void org.openmobileis.synchro.openmsp.client.conduit.HTTPFileClientSynchroConduit.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 72 of file HTTPFileClientSynchroConduit.java.

void org.openmobileis.synchro.openmsp.client.conduit.HTTPFileClientSynchroConduit.setSynchroUserAgent ( String  userAgent  ) 

Set the synchro user use in synchro connection.

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

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

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.

Returns:

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.

Returns:

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

Definition at line 247 of file HTTPFileClientSynchroConduit.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