AOSharedServiceLibrary
Public Member Functions | List of all members
ConsulComponentFactory Class Reference

The Consul Service Component Factory. More...

#include <factory_consul.h>

Public Member Functions

 ConsulComponentFactory ()
 Create a new Service Component Factory.
 
 ~ConsulComponentFactory ()
 Delete a Service Component Factory.
 
ConsulInterfaceget_consul_interface (std::string caddr)
 Get a Consul Interface instance.
 
ServiceInterfaceget_service_interface ()
 
ServiceInterfaceget_service_interface (std::string new_id, std::string new_name)
 Get a Service Interface instance.
 
ServiceInterfaceget_service_interface (std::string new_id, std::string new_name, std::string new_address, std::string new_port)
 Get a Service Interface instance.
 
ServiceInterfaceget_service_interface (std::string new_id, std::string new_name, std::string new_address, std::string new_port, std::vector< std::string > new_tags)
 Get a Service Interface instance.
 

Detailed Description

The Consul Service Component Factory.

The Service Component Factory tracks the Consul objects exposed by the framework and passes back instances of interfaces. This allows for the publicly exposed methods to be independent of the implementations.


The documentation for this class was generated from the following file: