PLCnext API Documentation 26.0.1.58
Public Types | Public Member Functions | List of all members
Arp::Base::Rsc::Commons::Services::IRscServiceProxyFactory2 Class Referenceabstract

Interface for service proxy factories to create service proxies used by RSC clients. More...

#include <IRscServiceProxyFactory2.hpp>

Inheritance diagram for Arp::Base::Rsc::Commons::Services::IRscServiceProxyFactory2:
Inheritance graph

Public Types

using Ptr = std::shared_ptr< IRscServiceProxyFactory2 >
 The shared pointer type of this proxy factory type.
 
using IRscServiceProxy2Ptr = std::shared_ptr< IRscServiceProxy2 >
 The shared pointer type of the service type.
 
- Public Types inherited from Arp::Base::Rsc::Commons::Services::IRscServiceProxyFactory
using Ptr = std::shared_ptr< IRscServiceProxyFactory >
 The shared pointer type of this proxy factory type.
 
using IRscServiceProxyPtr = std::shared_ptr< IRscServiceProxy >
 The shared pointer type of the service type.
 

Public Member Functions

 IRscServiceProxyFactory2 (void)=default
 Constructs an IRscServiceProxyFactory2 instance.
 
 IRscServiceProxyFactory2 (const IRscServiceProxyFactory2 &arg)=delete
 The default copy constructor.
 
 IRscServiceProxyFactory2 (IRscServiceProxyFactory2 &&arg) noexcept=default
 The default move constructor.
 
IRscServiceProxyFactory2operator= (const IRscServiceProxyFactory2 &arg)=delete
 The default copy-assignment operator.
 
IRscServiceProxyFactory2operator= (IRscServiceProxyFactory2 &&arg) noexcept=default
 The default move-assignment operator.
 
virtual ~IRscServiceProxyFactory2 (void)=default
 Destructs this instance and frees all resources.
 
virtual IRscServiceProxy2Ptr CreateServiceProxy2 (const RscServiceProxyInfo &serviceProxyInfo, RscClient &client)=0
 Creates a service proxy instance to be used by RSC clients remotely. More...
 
- Public Member Functions inherited from Arp::Base::Rsc::Commons::Services::IRscServiceProxyFactory
 IRscServiceProxyFactory (void)=default
 The default constructor.
 
 IRscServiceProxyFactory (const IRscServiceProxyFactory &arg)=delete
 The deleted copy constructor.
 
 IRscServiceProxyFactory (IRscServiceProxyFactory &&arg) noexcept=default
 The default move constructor. More...
 
IRscServiceProxyFactoryoperator= (const IRscServiceProxyFactory &arg)=delete
 The deleted assignment operator.
 
IRscServiceProxyFactoryoperator= (IRscServiceProxyFactory &&arg) noexcept=default
 The default move-assignment operator. More...
 
virtual ~IRscServiceProxyFactory (void)=default
 Destructs this instance and frees all resources.
 
virtual const char * GetServiceName (void) const =0
 Gets the service name of the service type to be created by this factory. More...
 
virtual const char * GetServiceProviderName (void) const =0
 Gets the service-provider name of the service to be created by this factory. More...
 
virtual IRscServiceProxyPtr CreateServiceProxy (RscHandle providerHandle, RscHandle serviceHandle, RscClient &client)=0
 Creates a service proxy instance to be used by RSC clients remotely. More...
 

Detailed Description

Interface for service proxy factories to create service proxies used by RSC clients.

This interface is not intended for direct use, but required by RscGenerator to implement services.

Member Function Documentation

◆ CreateServiceProxy2()

virtual IRscServiceProxy2Ptr Arp::Base::Rsc::Commons::Services::IRscServiceProxyFactory2::CreateServiceProxy2 ( const RscServiceProxyInfo serviceProxyInfo,
RscClient client 
)
pure virtual

Creates a service proxy instance to be used by RSC clients remotely.

Parameters
serviceProxyInfoThe service proxy info.
clientThe Rsc client providing the RSC connection.
Returns
A new created service-proxy instance.

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