HydraExpress™ C++ 2019 |
HydraExpress™ C++ API Reference Guide |
Product Documentation: HydraExpress C++ Documentation Home |
Represents an HTTP message listener for either web services or clients. More...
#include <rwsf/webservice/listener/HttpMessageListener.h>
Protected Member Functions | |
virtual void | doInit (const rwsf::Config &initParams) |
virtual void | doReset () |
virtual void | doStart () |
virtual void | doStop () |
virtual void | initServer () |
Additional Inherited Members | |
Public Member Functions inherited from rwsf::MessageListenerImp | |
MessageListenerImp () | |
virtual | ~MessageListenerImp () |
virtual std::string | getProperty (const std::string &key) |
virtual void | init (const rwsf::Config &initParams) |
virtual void | invoke (rwsf::CallInfo &callInfo) |
bool | isStopped () |
void | log (const std::string &message, rwsf::CallInfo::LogLevel l=rwsf::CallInfo::Error) |
void | log (rwsf::CallInfo &callInfo, rwsf::CallInfo::LogLevel l=rwsf::CallInfo::Error) |
virtual void | setProperty (const std::string &key, const std::string &value) |
Public Member Functions inherited from rwsf::MessageHandlerImp | |
MessageHandlerImp () | |
virtual | ~MessageHandlerImp () |
virtual void | destroy () |
Related Functions inherited from rwsf::MessageHandlerImp | |
#define | RWSF_DEFINE_MESSAGE_HANDLER(NAME) |
#define | RWSF_DEFINE_STATIC_MESSAGE_HANDLER(ID, NAME) |
This class creates an HTTP listener based on the parameters configured in either the transport.xml
file (servers) or the client-transports.xml
file. It receives and parses the HTTP message and forwards the request data to the appropriate client or web service code.
|
protectedvirtual |
Pure virtual function. In derived classes, init()
calls this method to handle any initialization specific to the implementation.
Implements rwsf::MessageListenerImp.
Reimplemented in rwsf::HttpsMessageListener.
|
protectedvirtual |
Pure virtual function. In the derived classes, this method is called by reset()
to handle resetting the listener.
Implements rwsf::MessageListenerImp.
|
protectedvirtual |
Pure virtual function. In derived classes, this method is the entry point for the listening thread, which is spawned in start()
after calling initServer()
.
Implements rwsf::MessageListenerImp.
|
protectedvirtual |
Pure virtual function. In the derived classes, this method is called by stop()
to handle any listener thread shutdown specific to the implementation.
Implements rwsf::MessageListenerImp.
|
protectedvirtual |
Pure virtual function. In derived classes, start()
calls this method, which is expected to handle any setup needed by the listening thread specific to the implementation.
Implements rwsf::MessageListenerImp.
Reimplemented in rwsf::HttpsMessageListener.
Copyright © 2019 Rogue Wave Software, Inc. All Rights Reserved. |