SOAPDispatcher Class Reference

#include <SOAPDispatcher.h>

Inheritance diagram for SOAPDispatcher:

Singleton< T > List of all members.

Public Member Functions

std::string processMessage (const std::string &KszObjectName, const std::string &KszMethodName, SOAPElement &theCall, bool &bContainsFault)
bool registerObject (SOAPObjectCreator *pCreator)
SOAPMethodGetMethod (const char *methodName)

Static Public Member Functions

static SOAPDispatcherInstance ()

Private Types

typedef std::map< std::string,
SOAPObjectCreator * > 
CreatorContainer

Private Member Functions

 SOAPDispatcher ()
virtual ~SOAPDispatcher ()

Private Attributes

CreatorContainer m_creatorContainer
SOAPObject::MethodListcurrentMethodList

Friends

class Singleton< SOAPDispatcher >
class std::auto_ptr< SOAPDispatcher >

Detailed Description

Definition at line 59 of file SOAPDispatcher.h.


Member Typedef Documentation

typedef std::map<std::string, SOAPObjectCreator*> SOAPDispatcher::CreatorContainer [private]
 

Definition at line 123 of file SOAPDispatcher.h.


Constructor & Destructor Documentation

SOAPDispatcher::SOAPDispatcher  )  [private]
 

SimpleSOAP Library: Implements a simplified version of SOAP (Simple Object Access Protocol).

Copyright (C) 2000 Scott Seely, scott@scottseely.com modifications by Gerard J. Cerchio gjpc@circlesoft.com

This library is public domain software

26-Aug-04 G. Cerchio add SOAP output and input logging 24-Aug-04 G. Cerchio use long message interface to logger 21-Aug-04 G. Cerchio added logging for SOAP responses

Log
SOAPDispatcher.cpp,v
Revision 1.1 2005/03/22 22:22:14 gjpc This is the intial check in of the Simple SOAP library.

The code compiles and executes under MSVC .NET and GNU 3.3

It has been run under Debian, SUSE, CYGWIN and WinXP

Revision 1.3 2004/04/23 16:59:26 gjpc expanded the Simple SOAP package to allow RPC's within RPC's

Definition at line 46 of file SOAPDispatcher.cpp.

References currentMethodList.

SOAPDispatcher::~SOAPDispatcher  )  [private, virtual]
 

Definition at line 51 of file SOAPDispatcher.cpp.

References m_creatorContainer.


Member Function Documentation

SOAPMethod * SOAPDispatcher::GetMethod const char *  methodName  ) 
 

Definition at line 81 of file SOAPDispatcher.cpp.

References currentMethodList.

SOAPDispatcher & SOAPDispatcher::Instance  )  [static]
 

Reimplemented from Singleton< T >.

Definition at line 60 of file SOAPDispatcher.cpp.

References Singleton< T >::Instance().

Referenced by processSocket(), and registerObjects().

std::string SOAPDispatcher::processMessage const std::string &  KszObjectName,
const std::string &  KszMethodName,
SOAPElement theCall,
bool &  bContainsFault
 

Definition at line 94 of file SOAPDispatcher.cpp.

References currentMethodList, SOAPEncoder::encodeFault(), SOAPEncoder::encodeMethodResponse(), and m_creatorContainer.

Referenced by processSocket().

bool SOAPDispatcher::registerObject SOAPObjectCreator pCreator  ) 
 

Definition at line 65 of file SOAPDispatcher.cpp.

References SOAPObjectCreator::createdObjectName(), and m_creatorContainer.

Referenced by registerObjects().


Friends And Related Function Documentation

friend class Singleton< SOAPDispatcher > [friend]
 

Definition at line 114 of file SOAPDispatcher.h.

friend class std::auto_ptr< SOAPDispatcher > [friend]
 

Definition at line 115 of file SOAPDispatcher.h.


Member Data Documentation

SOAPObject::MethodList* SOAPDispatcher::currentMethodList [private]
 

Definition at line 130 of file SOAPDispatcher.h.

Referenced by GetMethod(), processMessage(), and SOAPDispatcher().

CreatorContainer SOAPDispatcher::m_creatorContainer [private]
 

Definition at line 127 of file SOAPDispatcher.h.

Referenced by processMessage(), registerObject(), and ~SOAPDispatcher().


The documentation for this class was generated from the following files:
Generated on Tue Mar 28 09:10:16 2006 for Simple SOAP by  doxygen 1.4.6