Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress Web Service Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

rwsf::MessageHandler

Group:  Handler


rwsf::MessageHandler rwsf::HandleBase

Local Index

Members

Non-Members

Header File

#include <rw/rwsf/soapworx/MessageHandler.h> 

Description

The handle class of all proxies, services, skeletons, loggers, and transports are either of type rwsf::MessageHandler or derive from it.

To create a new service handler, derive from the body rwsf::MessageHandlerImp and implement the method invoke(). For more information, see Chapter 15, "SOAP Message Handler SDK," in the HydraExpress Web Service Development Guide

rwsf::MessageHandler implements the handle idiom from the handle-body pattern, where the body is rwsf::MessageHandlerImp. An instance of this class is a handle to a private, reference-counted body. When a handle is copy-constructed, the new handle attaches to the same body as the original. When one handle is assigned to another handle, the handle on the left side detaches from its current body and attaches to the body pointed to by the handle on the right side. Logical operators return truth values based on whether the handles being compared point to the same body instance.


NOTE -- Handle methods that just call the corresponding method on the body are described only in the body class. For instance, if the handle class includes a method invoke() that calls the body's corresponding method Invoke(), that method is documented only in the body class.

Public Constructors

MessageHandler();
MessageHandler(const MessageHandler& handler);
MessageHandler(MessageHandlerImp *impl);

Public Destructor

~MessageHandler();

Public Operators

MessageHandler& 
operator=(const MessageHandler& obj);

Public Member Functions

void 
destroy();
void 
invoke(rwsf::CallInfo& callInfo);
void 
init(const rwsf::Config& initParams);

Global Macros

#define rwsf_DEFINE_MESSAGE_HANDLER(NAME)
#define rwsf_DEFINE_STATIC_MESSAGE_HANDLER(ID, NAME)


Previous fileTop of DocumentContentsIndex pageNext file

©2004-2007 Copyright Quovadx, Inc. All Rights Reserved.
Quovadx and Rogue Wave are registered trademarks of Quovadx, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.