AOSharedServiceLibrary
|
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. | |
ConsulInterface * | get_consul_interface (std::string caddr) |
Get a Consul Interface instance. | |
ServiceInterface * | get_service_interface () |
ServiceInterface * | get_service_interface (std::string new_id, std::string new_name) |
Get a Service Interface instance. | |
ServiceInterface * | get_service_interface (std::string new_id, std::string new_name, std::string new_address, std::string new_port) |
Get a Service Interface instance. | |
ServiceInterface * | get_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. | |
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.