23#include <Inventor/sys/port.h>
24#include <RemoteViz/Rendering/LibHelper.h>
25#include <SoDeprecationRules.h>
35 class ServiceSettingsImpl;
54 friend class ServiceImpl;
87 void setIP(
const std::string& ip);
93 const std::string&
getIP()
const;
169 SOLIDEDGEREADER = 0x1000,
171 SOLIDWORKSREADER = 0x4000,
260 void enableSecureConnection(
const std::string& publicCertificateFilePath,
const std::string& privateKeyFilePath,
unsigned int enabledSecurityProtocols = TLSv1_1 | TLSv1_2 | TLSv1_3);
307 std::shared_ptr<ServiceSettingsImpl> getImpl()
const;
312 std::shared_ptr<ServiceSettingsImpl> pImpl;
<a href="IconLegend.html"><img src="extRV.gif" alt="RemoteViz" border="0"></a>
RunMode
The run mode is used to change the behaviour of the RemoteViz execution in three environments.
void setRunMode(ServiceSettings::RunMode runmode)
Sets the run mode of the service.
unsigned short getPort() const
Gets the port of the service.
void setIP(const std::string &ip)
Sets the IP address.
const std::string & getPublicCertificateFile() const
Gets the public certificate authenticating the server to the clients.
std::shared_ptr< Monitoring > getMonitoring() const
Gets the monitoring object which allows to manage metrics listeners that monitor states and performan...
const std::string & getIP() const
Gets the IP address.
ServiceSettings::RunMode getRunMode() const
Gets the run mode of the service.
void setPort(unsigned short port)
Sets the port of the service.
ServiceSettings & operator=(const ServiceSettings &obj)
Copy assignment operator.
std::string getHostname() const
Gets the current host name.
unsigned int getEnabledSecurityProtocols() const
Gets the security procotols used in RemoteViz.
ServiceSettings(const ServiceSettings &obj)
Copy constructor.
Extensions
Each enumeration represents an Open Inventor extension.
ServiceSettings()
Constructor.
unsigned int getUsedExtensions() const
Gets the used Open Inventor extensions.
~ServiceSettings()
Destructor.
bool isSecureConnection() const
Gets the SSL engine activation.
void enableSecureConnection(const std::string &publicCertificateFilePath, const std::string &privateKeyFilePath, unsigned int enabledSecurityProtocols=TLSv1_1|TLSv1_2|TLSv1_3)
Secures the connection between the server and the clients.
void setUsedExtensions(unsigned int extensions)
Sets the Open Inventor extensions used by a RemoteViz application.
SecurityProtocols
Each enumeration represents a security protocol.
const std::string & getPrivateKeyFile() const
Gets the private key used to sign the server key exchange between the client and the server.