|  HydraExpress™ C++ 2020 | HydraExpress™ C++ API Reference Guide | Product Documentation: HydraExpress C++ Documentation Home | 
Base class for all message handler implementations, providing an interface for message processing. More...
#include <rwsf/webservice/MessageHandler.h>
 
  
 | Public Member Functions | |
| MessageHandlerImp () | |
| virtual | ~MessageHandlerImp () | 
| virtual void | destroy () | 
| virtual void | init (const rwsf::Config &initParams) | 
| virtual void | invoke (rwsf::CallInfo &callInfo) | 
| Related Functions | |
| (Note that these are not member functions.) | |
| #define | RWSF_DEFINE_MESSAGE_HANDLER(NAME) | 
| #define | RWSF_DEFINE_STATIC_MESSAGE_HANDLER(ID, NAME) | 
rwsf::MessageHandlerImp provides an interface for processing messages. All message handler implementations derive from this base class, including generated proxies, services, skeletons, and loggers.
To create a new service handler, derive from this class and implement the method invoke(). For more information, see the Web Service Development Guide.
| rwsf::MessageHandlerImp::MessageHandlerImp | ( | ) | 
Default constructor.
| 
 | virtual | 
Destructor.
| 
 | virtual | 
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 in its destructor.
| 
 | virtual | 
Initializes this handler. The values of the parameter initParams come from the handlers.xml file that defines the handler chains for this service. 
Reimplemented in rwsf::MessageListenerImp, and rwsf::ServiceSkeletonBase.
| 
 | virtual | 
This method implements the main functionality of a service and is called by any service or client invoking the service.
Reimplemented in rwsf::TransportImp, rwsf::MessageListenerImp, and rwsf::ServiceSkeletonBase.
| 
 | related | 
Use this macro to define a handler and register it with the lookup registry.
| 
 | related | 
Use this macro to define a static handler and register it with the lookup registry. This version of the macro should be used in client executables where the definition will not need to be exported.
| Copyright © 2020 Rogue Wave Software, Inc. All Rights Reserved. |