Public Member Functions

base_soap::SOAPTransport Class Reference

General definition of a soap transport service. More...

#include <libppbase/base_soap/SOAPTransport.h>

Inheritance diagram for base_soap::SOAPTransport:
base_soap::SOAPHTTPTransport

List of all members.

Public Member Functions

virtual SOAPResponseinvoke (SOAPRequest &request, bool throwex=true, int timeout=300)=0
 Executes a soap call.
virtual SOAPResponseinvoke (SOAPRequest &request, const base::String &host, int port=0, bool throwex=true, int timeout=300)=0
 Executes a soap call.
virtual SOAPRequestreadRequest ()=0
 Reads the next soap request from the client.
virtual void sendResponse (const SOAPResponse *response)=0
 Sends a response from the server to the client.

Detailed Description

General definition of a soap transport service.

Author:
Christoph Schwarz
Version:
Id:
SOAPTransport.h 21 2010-09-05 04:18:17Z cschwarz1

Member Function Documentation

virtual SOAPResponse* base_soap::SOAPTransport::invoke ( SOAPRequest request,
bool  throwex = true,
int  timeout = 300 
) [pure virtual]

Executes a soap call.

Parameters:
request the request to execute
throwex true if a remote error should cause an exception
timeout timeout in seconds
Returns:
the response to this call

Implemented in base_soap::SOAPHTTPTransport.

virtual SOAPResponse* base_soap::SOAPTransport::invoke ( SOAPRequest request,
const base::String host,
int  port = 0,
bool  throwex = true,
int  timeout = 300 
) [pure virtual]

Executes a soap call.

Parameters:
request the request to execute
host the host name of the server, may include a port number
port the port number, if not included in the host
throwex true if a remote error should cause an exception
timeout timeout in seconds
Returns:
the response to this call

Implemented in base_soap::SOAPHTTPTransport.

virtual SOAPRequest* base_soap::SOAPTransport::readRequest (  )  [pure virtual]

Reads the next soap request from the client.

Returns:
NULL if there are no more requests

Implemented in base_soap::SOAPHTTPTransport.

virtual void base_soap::SOAPTransport::sendResponse ( const SOAPResponse response  )  [pure virtual]

Sends a response from the server to the client.

Parameters:
response the response to send

Implemented in base_soap::SOAPHTTPTransport.


The documentation for this class was generated from the following file: