HydraExpress™ C++ API Reference Guide

Product Documentation:
   HydraExpress C++
Documentation Home
List of all members | Public Member Functions
rwsf::HttpConnectorImp Class Reference

Provides a connection for processing HTTP formatted messages. Not intended for direct use. More...

#include <rwsf/transport/http/HttpConnectorImp.h>

Inheritance diagram for rwsf::HttpConnectorImp:
rwsf::ConnectorImp rwsf::HttpsConnectorImp

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

Detailed Description

This class receives HTTP messages and passes the messages to its associated handler chain.

Note
This class is not intended for direct use.

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.

Member Function Documentation

virtual void rwsf::HttpConnectorImp::init ( const rwsf::Config config,
const rwsf::AgentContext agent 
)
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.

Parameters
configConfiguration properties for initializing this connector.
agentAgentContext 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 void rwsf::HttpConnectorImp::start ( )
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 void rwsf::HttpConnectorImp::stop ( )
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 © 2019 Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is registered trademark of Rogue Wave Software, Inc. in the United States and other countries, and HydraExpress is a trademark of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.