sipxtacklib  Version 3.3
Static Public Member Functions | Protected Member Functions | List of all members
ProvisioningAgentXmlRpcAction Class Reference

This class implements the mapping between the XmlRpc procedure "action" and the ProvisioningAgent::action() member function. More...

#include <ProvisioningAgentXmlRpcAdapter.h>

Inheritance diagram for ProvisioningAgentXmlRpcAction:
Inheritance graph
[legend]
Collaboration diagram for ProvisioningAgentXmlRpcAction:
Collaboration graph
[legend]

Static Public Member Functions

static ProvisioningAgentXmlRpcActionget (void)
 Create a dynamic instance of this class and return the pointer to it. More...
 
- Static Public Member Functions inherited from XmlRpcMethod
static XmlRpcMethodget ()
 Get the instance of this method. Subclasses must provide a definition for this method. More...
 

Protected Member Functions

bool execute (const HttpRequestContext &rContext, UtlSList &rParameters, void *pProvisioningAgentInstance, XmlRpcResponse &rResponse, XmlRpcMethod::ExecutionStatus &rStatus)
 This is the actual method called by the underlying XmlRpc Dispatcher in response to receiving a <methodCall>. More...
 
- Protected Member Functions inherited from XmlRpcMethod
 XmlRpcMethod ()
 Constructor. More...
 

Additional Inherited Members

- Public Types inherited from XmlRpcMethod
enum  ExecutionStatus {
  OK,
  FAILED,
  REQUIRE_AUTHENTICATION
}
 
typedef enum XmlRpcMethod::ExecutionStatus ExecutionStatus
 
typedef XmlRpcMethodGet()
 
- Public Member Functions inherited from XmlRpcMethod
virtual ~XmlRpcMethod ()
 Destructor. More...
 

Detailed Description

This class implements the mapping between the XmlRpc procedure "action" and the ProvisioningAgent::action() member function.

Member Function Documentation

static ProvisioningAgentXmlRpcAction* get ( void  )
inlinestatic

Create a dynamic instance of this class and return the pointer to it.

bool execute ( const HttpRequestContext rContext,
UtlSList &  rParameters,
void *  pProvisioningAgentInstance,
XmlRpcResponse rResponse,
XmlRpcMethod::ExecutionStatus rStatus 
)
protectedvirtual

This is the actual method called by the underlying XmlRpc Dispatcher in response to receiving a <methodCall>.

It will call the corresponding ProvisioningAgent method whos instance is supplied in the provisioningAgentInstance argument.

Implements XmlRpcMethod.


sipXtackLib home page