Public Member Functions | Public Attributes | Private Attributes

methodCall Struct Reference

Represents the <methodCall> element with <methodName> and request <params> for remote invocation. More...

#include <xml-rpc.h>

Collaboration diagram for methodCall:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 methodCall ()
 methodCall (struct soap *)
 methodCall (struct soap *, const char *endpoint, const char *methodname)
 instantiate with endpoint and method name
struct valueoperator[] (int)
 method parameter accessor index
struct paramsoperator() ()
 method invocation
struct paramsoperator() (const struct params &)
 method invocation with param list
struct paramsresponse ()
 get last response
struct valuefault ()
 fault value of response
const char * name () const
 get method name
int error () const
 gSOAP error code
int recv ()
 receive call
int send ()
 send call

Public Attributes

char * methodName
 name of the method
struct params params
 method request parameters
struct soapsoap
 ref to soap struct that manages this type

Private Attributes

char * methodEndpoint
 XML-RPC endpoint.
struct methodResponsemethodResponse
 holds the response after the call

Detailed Description

Represents the <methodCall> element with <methodName> and request <params> for remote invocation.


Constructor & Destructor Documentation

methodCall::methodCall (  ) 
methodCall::methodCall ( struct soap  ) 
methodCall::methodCall ( struct soap ,
const char *  endpoint,
const char *  methodname 
)

instantiate with endpoint and method name


Member Function Documentation

int methodCall::error (  )  const

gSOAP error code

struct value& methodCall::fault (  )  [read]

fault value of response

const char* methodCall::name (  )  const

get method name

struct params& methodCall::operator() (  )  [read]

method invocation

struct params& methodCall::operator() ( const struct params  )  [read]

method invocation with param list

struct value& methodCall::operator[] ( int   )  [read]

method parameter accessor index

int methodCall::recv (  ) 

receive call

struct params& methodCall::response (  )  [read]

get last response

int methodCall::send (  ) 

send call


Member Data Documentation

char* methodCall::methodEndpoint [private]

XML-RPC endpoint.

name of the method

holds the response after the call

method request parameters

ref to soap struct that manages this type


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