19 using namespace OpcUa;
32 ApplyAddonParameters(params);
42 Endpoints->AddApplications(std::vector<OpcUa::ApplicationDescription>(1, application.Application));
43 Endpoints->AddEndpoints(application.Endpoints);
47 virtual void Stop()
override 49 InternalServer->UnregisterEndpointsServices();
50 InternalServer.reset();
54 virtual void AddEndpoints(
const std::vector<EndpointDescription> & endpoints)
override 59 virtual void AddApplications(
const std::vector<OpcUa::ApplicationDescription> & applications)
override 65 virtual std::vector<ApplicationDescription> FindServers(
const FindServersParameters & params)
const override 70 virtual std::vector<EndpointDescription> GetEndpoints(
const GetEndpointsParameters & filter)
const override 96 ServicesRegistry::SharedPtr InternalServer;
97 Common::Logger::SharedPtr Logger;
109 return Common::Addon::UniquePtr(new ::EndpointsAddon());
virtual const Logger::SharedPtr & GetLogger() const
virtual Common::Addon::UniquePtr CreateAddon() override
Create instance of addon.
virtual std::shared_ptr< Addon > GetAddon(const AddonId &id) const =0
getting addon by id
const char ServicesRegistryAddonId[]
EndpointsRegistry::UniquePtr CreateEndpointsRegistry()
OPC UA Address space part. GNU LGPL.
std::vector< Server::ApplicationData > ParseEndpointsParameters(const std::vector< Common::ParametersGroup > &rootGroup, const Common::Logger::SharedPtr &logger)
std::vector< ParametersGroup > Groups
virtual void RegisterEndpointsServices(OpcUa::EndpointServices::SharedPtr endpoints)=0