HydraExpress™ C++ 2020 |
HydraExpress™ C++ API Reference Guide |
Product Documentation: HydraExpress C++ Documentation Home |
Provides a connection for processing HTTP formatted messages. Not intended for direct use. More...
#include <rwsf/transport/http/HttpConnectorImp.h>
Public Member Functions | |
virtual void | init (const rwsf::Config &config, const rwsf::AgentContext &agent) |
virtual void | start () |
virtual void | stop () |
Public Member Functions inherited from rwsf::ConnectorImp | |
ConnectorImp () | |
rwsf::MessageInfoHandlerChain | getHandlerChain () const |
rwsf::Logger | getLogger () |
std::string | getName () const |
Additional Inherited Members | |
Related Functions inherited from rwsf::ConnectorImp | |
#define | RWSF_DEFINE_CONNECTOR(NAME) |
This class receives HTTP messages and passes the messages to its associated handler chain.
The HTTP connector is configured in the main Agent configuration file, rwagent.xml
, located in the <installdir>
\conf
directory. For information about the configuration parameters, see the User Guide.
|
virtual |
Initializes this connector's implementation. If this function is overridden in derived classes, the overriding function must call this function first before doing anything else.
config | Configuration properties for initializing this connector. |
agent | AgentContext that contains the connector. If an invalid handler chain is specified in rwagent.xml for the connector, throws an rwsf::Exception. |
Implements rwsf::ConnectorImp.
|
virtual |
Starts this connector. Derived classes must implement this function. The implementation should not block process execution, that is, it should return control immediately to the caller.
Implements rwsf::ConnectorImp.
|
virtual |
Stops this connector. Derived classes must implement this function. The implementation can block process execution if neccessary, until shutdown is completed.
Implements rwsf::ConnectorImp.
Copyright © 2020 Rogue Wave Software, Inc. All Rights Reserved. |