SOAP::OBJECT_DEFINITION Class Reference

Class to define a SOAP Object (Server-side) This class defines what the class is and can do, but does not hold any data for individual instances of the object. More...

#include <mi32/soapserver.h>

List of all members.

Public Member Functions

 OBJECT_DEFINITION (const char *name)
virtual ~OBJECT_DEFINITION ()
HTTPCLIENT::INSTANCEDATA * AllocateInstance (HTTPSERVER::CLIENT *client)
METHODFindMethod (const char *name) const
const char * GetName () const
const XMLDOCGetWSDL () const

Private Member Functions

void AddMethod (METHOD *method)
virtual HTTPCLIENT::INSTANCEDATA * v_AllocateInstance (HTTPSERVER::CLIENT *client)

Private Attributes

SIMPLE_ARRAY< SOAP::METHOD * > m_Methods
const char * m_name
XMLDOCm_wsdl

Detailed Description

Class to define a SOAP Object (Server-side) This class defines what the class is and can do, but does not hold any data for individual instances of the object.

SOAP::INSTANCE does that


Constructor & Destructor Documentation

SOAP::OBJECT_DEFINITION::OBJECT_DEFINITION ( const char *  name  ) 
virtual SOAP::OBJECT_DEFINITION::~OBJECT_DEFINITION (  )  [virtual]

Member Function Documentation

void SOAP::OBJECT_DEFINITION::AddMethod ( METHOD method  )  [private]
HTTPCLIENT::INSTANCEDATA* SOAP::OBJECT_DEFINITION::AllocateInstance ( HTTPSERVER::CLIENT *  client  ) 

Allocate an instance.

Will return NULL if the object is just a namespace for static methods. Returned instance should be deleted with delete, but will be automatically deleted when the client is deleted.

METHOD* SOAP::OBJECT_DEFINITION::FindMethod ( const char *  name  )  const

Find a method.

The SOAPHANDLER calls this to find the method to handle a request

const char* SOAP::OBJECT_DEFINITION::GetName (  )  const

Get the name of the OBJECT.

const XMLDOC& SOAP::OBJECT_DEFINITION::GetWSDL (  )  const
virtual HTTPCLIENT::INSTANCEDATA* SOAP::OBJECT_DEFINITION::v_AllocateInstance ( HTTPSERVER::CLIENT *  client  )  [private, virtual]

Member Data Documentation

const char* SOAP::OBJECT_DEFINITION::m_name [private]

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