Main Page | Class Hierarchy | Class List | File List | Class Members | Related Pages

glite::rgma::ServletConnection Class Reference

#include <ServletConnection.h>

List of all members.

Public Member Functions

 ServletConnection (std::string servletURL) throw (RGMAException)
 ServletConnection (std::string servletURL, int connectionId) throw (RGMAException)
void addParameter (std::string name, std::string value) throw (RGMAException)
void addParameter (std::string name, const char *value) throw (RGMAException)
void addParameter (std::string name, int value) throw (RGMAException)
void addParameter (std::string name, double value) throw (RGMAException)
void addParameter (std::string name, bool value) throw (RGMAException)
void addParameter (std::string name, long value) throw (RGMAException)
void connect (std::string operation, std::string &response) throw (RGMAException, RemoteException)
int getConnectionId () const
std::string getServletURL () const
std::string toString () const

Protected Member Functions

std::string getParameters () const


Detailed Description

Servlet interaction


Member Function Documentation

void glite::rgma::ServletConnection::addParameter std::string  name,
long  value
throw (RGMAException)
 

add a long parameter (name value pair).

Parameters:
name name of parameter
value value of parameter

void glite::rgma::ServletConnection::addParameter std::string  name,
bool  value
throw (RGMAException)
 

add a boolean parameter (name value pair).

Parameters:
name name of parameter
value value of parameter

void glite::rgma::ServletConnection::addParameter std::string  name,
double  value
throw (RGMAException)
 

add a double parameter (name value pair).

Parameters:
name name of parameter
value value of parameter

void glite::rgma::ServletConnection::addParameter std::string  name,
int  value
throw (RGMAException)
 

add an integer parameter (name value pair).

Parameters:
name name of parameter
value value of parameter

void glite::rgma::ServletConnection::addParameter std::string  name,
const char *  value
throw (RGMAException)
 

add a char* parameter (name value pair).

Parameters:
name name of parameter
value value of parameter

void glite::rgma::ServletConnection::addParameter std::string  name,
std::string  value
throw (RGMAException)
 

add a string parameter (name value pair).

Parameters:
name name of parameter
value value of parameter

void glite::rgma::ServletConnection::connect std::string  operation,
std::string &  response
throw (RGMAException, RemoteException)
 

Connect with specified operation. A proxy cache may be used for all accesses except to localhost, by settin the environment variable http_proxy to it. e.g. export http_proxy=wwwcache.rl.ac.uk:8080

Parameters:
operation name of operation the servlet is to perform. The operation name is appended to the base servlet URI to which are appended any parameters to form the complete URI
response returned XML string

std::string glite::rgma::ServletConnection::getParameters  )  const [inline, protected]
 

For testing - return the current parameters.

Returns:
parameters attribute


The documentation for this class was generated from the following files:
Generated on Wed May 17 17:48:19 2006 for glite-rgma-api-cpp by doxygen 1.3.5