rwsf::MessageHandlerImprwsf::BodyBase
#include rwsf/webservice/MessageHandler.h
rwsf::MessageHandlerImp provides an interface for processing messages. All message handler bodies derive from this base class, including generated proxies, services, skeletons, and loggers.
This class implements the body part of the handle/body idiom, in which rwsf::MessageHandler is the handle.
To create a new service handler, derive from this class and implement the method invoke(). For more information, see Chapter 15, "SOAP Message Handler SDK," in the HydraExpress Web Service Development Guide.
MessageHandlerImp();
Default constructor.
virtual ~MessageHandlerImp();
Destructor.
void destroy();
Provides the message handler a chance to perform cleanup tasks and deallocate resources. A message handler should perform all resource deallocation and cleanup tasks in the destroy() method rather than its destructor.
void init(const rwsf::Config & initParams);
Virtual. Initializes this handler. The values of the parameter initParams comes from the handlers.xmlfile defining the chains for this service.
void invoke(rwsf::CallInfo & callInfo);
Virtual. Calling services that will use this handle access it through this method, which implements the main functionality of a service. To create a handler, extend this class and implement this method in the derived class.
© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.