CurlHttpClientPrivate Class Reference

(Internal) CurlHttpClientPrivate is a class that wraps the three libRETS classes that make up a single request and response. More...

#include <librets/CurlHttpClient.h>

List of all members.

Public Member Functions

 CurlHttpClientPrivate (RetsHttpRequest *request, CurlHttpResponsePtr response, CurlHttpClient *client)
 Construct the CurlHttpClientPrivate class.
 ~CurlHttpClientPrivate ()
RetsHttpRequestGetRequest ()
 Returns a pointer to the RetsHttpRequest object for this request.
CurlHttpResponsePtr GetResponse ()
 Return the reference to the response object associated with this request.
CurlHttpClientGetClient ()
 Return a pointer to the CurlHttpClient that controls this request.


Detailed Description

(Internal) CurlHttpClientPrivate is a class that wraps the three libRETS classes that make up a single request and response.

This becomes libCURL's private data for the particular easy handle that invokes this request.


Constructor & Destructor Documentation

CurlHttpClientPrivate ( RetsHttpRequest request,
CurlHttpResponsePtr  response,
CurlHttpClient client 
) [inline]

Construct the CurlHttpClientPrivate class.

Parameters:
request A pointer to the request object.
response A CurlHttpResponsePtr referencing to where the response will be returned.
client A pointer to the CurlHttpClient class that controls the transaction.

~CurlHttpClientPrivate (  )  [inline]


Member Function Documentation

CurlHttpClient* GetClient (  )  [inline]

Return a pointer to the CurlHttpClient that controls this request.

Returns:
A pointer to the CurlHttpClient.

RetsHttpRequest* GetRequest (  )  [inline]

Returns a pointer to the RetsHttpRequest object for this request.

Returns:
A pointer to the RetsHttpRequest.

CurlHttpResponsePtr GetResponse (  )  [inline]

Return the reference to the response object associated with this request.

Returns:
A CurlHttpResponsePtr.


Generated by  doxygen