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

rwsf::MessageHandler

Group:  Web Services


rwsf::MessageHandlerrwsf::HandleBase

Local Index

Members

Header File

#include rwsf/webservice/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 Destructors

~MessageHandler();

Public Member Functions

MessageHandlerImp &
body() const;

Public Operators

MessageHandler &
operator=(const MessageHandler & obj);


Previous fileTop of DocumentContentsIndex pageNext file

© 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.