SOAP::OBJECT Class Reference

Client-Side SOAP Object container. More...

#include <mi32/soap.h>

List of all members.

Public Member Functions

 OBJECT (HTTPCLIENT *client, const char *ObjectClass)
 OBJECT ()
virtual ~OBJECT ()
ERRVALUE Allocate ()
void Attach (HTTPCLIENT *client, const char *ObjectClass)
ERRVALUE CallMethod (const char *name, const VALUES *parms=0, VALUES *ret=0)
void Free ()
const char * GetObjectID () const

Protected Member Functions

HTTPCLIENTGetClient () const

Private Attributes

HTTPCLIENTm_client
STRUTF8 m_id
STRUTF8 m_ObjClass

Detailed Description

Client-Side SOAP Object container.


Constructor & Destructor Documentation

SOAP::OBJECT::OBJECT (  ) 

Construct an object but don't bind it to anything.

SOAP::OBJECT::OBJECT ( HTTPCLIENT client,
const char *  ObjectClass 
)

Construct an object and bind it to a client.

Note: this constructor may become protected.

virtual SOAP::OBJECT::~OBJECT (  )  [virtual]

Member Function Documentation

ERRVALUE SOAP::OBJECT::Allocate (  ) 

Allocate a server-side instance of the object.

If the object is conceptually an interface-only object and has all static method (in the C++ sense of the word), then you do not need to allocate an instance. In fact, trying to do so will probably just give you an error.

Returns:
0 if attach successful, error code < 0 if not.
void SOAP::OBJECT::Attach ( HTTPCLIENT client,
const char *  ObjectClass 
)

Attach this OBJECT to a client and object class.

ERRVALUE SOAP::OBJECT::CallMethod ( const char *  name,
const VALUES parms = 0,
VALUES ret = 0 
)

Call a method on the object.

void SOAP::OBJECT::Free (  ) 
HTTPCLIENT* SOAP::OBJECT::GetClient (  )  const [protected]
const char* SOAP::OBJECT::GetObjectID (  )  const

Member Data Documentation


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

Generated on Sun Oct 7 21:39:27 2012 for TNTsdk 2012 by  doxygen 1.6.1