rwlogo
HydraExpress 4.6

HydraExpress C++ API Reference Guide


   


Rogue Wave web site:  Home Page  |  Main Documentation Page

rwsf::Connector Class Reference
[Message Handling]

Reference to all connector implementations. More...

#include <rwsf/handlers/Connector.h>

Inheritance diagram for rwsf::Connector:
rwsf::HandleBase

List of all members.

Public Member Functions

void start ()
void stop ()
std::string getName () const

Detailed Description

rwsf::Connector is the handle of a bridge pattern where the implementation is defined via rwsf::ConnectorImp. A connector provides an end point for services and creates rwsf::MessageInfo objects specific to the endpoint and external payload which are then passed through the handler chain with which the connector is configured.

If you wish to create custom connectors, derive from rwsf::ConnectorImp.

See also:
rwsf::ConnectorImp
Note:
This class uses reference semantics in which an instance of this class represents a reference to the implementation class rwsf::ConnectorImp.

Member Function Documentation

std::string rwsf::Connector::getName (  )  const

Returns the name of this connector, or an empty string if none is provided. The name of the connector is optional and can be set only during initialization.

void rwsf::Connector::start (  ) 

Starts this connector. This function should not block execution of the process; that is, it should return control immediately to the caller.

void rwsf::Connector::stop (  ) 

Stops this connector. This function should block execution of the process until completed.


Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo are registered trademarks of Rogue Wave Software, and HydraExpress is a trademark of Rogue Wave Software. All other trademarks are the property of their respective owners.