Modifier and Type | Class and Description |
---|---|
static class |
ServiceSettings.Extensions
Each enumeration represents an Open Inventor extension.
|
static class |
ServiceSettings.RunModes
The run mode is used to change the behaviour of the RemoteViz execution in three environments.
|
static class |
ServiceSettings.SecurityProtocols
Each enumeration represents a security protocol.
|
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
ServiceSettings()
Constructor.
|
ServiceSettings(ServiceSettings obj)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
void |
enableSecureConnection(java.lang.String publicCertificateFilePath,
java.lang.String privateKeyFilePath)
Calls enableSecureConnection(publicCertificateFilePath, privateKeyFilePath, java.util.EnumSet.of( ServiceSettings.SecurityProtocols.TLSv1, ServiceSettings.SecurityProtocols.TLSv1_1, ServiceSettings.SecurityProtocols.TLSv1_2 )).
|
void |
enableSecureConnection(java.lang.String publicCertificateFilePath,
java.lang.String privateKeyFilePath,
java.util.EnumSet<ServiceSettings.SecurityProtocols> enabledSecurityProtocols)
Secures the connection between the server and the clients.
|
void |
enableSecureConnection(java.lang.String publicCertificateFilePath,
java.lang.String privateKeyFilePath,
int enabledSecurityProtocols)
Deprecated.
As of Open Inventor 9.8.0, use
#enableSecureConnection(java.lang.String
publicCertificateFilePath, java.lang.String privateKeyFilePath,
java.util.EnumSet instead. |
void |
enableSecureConnection(java.lang.String publicCertificateFilePath,
java.lang.String privateKeyFilePath,
ServiceSettings.SecurityProtocols enabledSecurityProtocols)
Deprecated.
As of Open Inventor 9.7.2, use
enableSecureConnection(java.lang.String publicCertificateFilePath, java.lang.String privateKeyFilePath, int enabledSecurityProtocols)
instead. |
ServiceSettings.SecurityProtocols |
getEnabledSecurityProtocols()
Gets the security procotols used in RemoteViz.
|
java.lang.String |
getHostname()
Gets the current host name.
|
java.lang.String |
getIP()
Gets the IP address.
|
java.util.EnumSet<ServiceSettings.Extensions> |
getOivUsedExtensions()
Gets the used Open Inventor extensions.
|
short |
getPort()
Gets the port of the service.
|
java.lang.String |
getPrivateKeyFile()
Gets the private key used to sign the server key exchange between the client and the server.
|
java.lang.String |
getPublicCertificateFile()
Gets the public certificate authenticating the server to the clients.
|
ServiceSettings.RunModes |
getRunMode()
Gets the run mode of the service.
|
ServiceSettings.Extensions |
getUsedExtensions()
Deprecated.
As of Open Inventor 9800. See documentation for more details.
|
boolean |
isSecureConnection()
Gets the SSL engine activation.
|
void |
setIP(java.lang.String ip)
Sets the IP address.
|
void |
setOivUsedExtensions(java.util.EnumSet<ServiceSettings.Extensions> extensions)
Sets the Open Inventor extensions used in RemoteViz.
|
void |
setPort(short port)
Sets the port of the service.
|
void |
setRunMode(ServiceSettings.RunModes runmode)
Sets the run mode of the service.
|
void |
setUsedExtensions(ServiceSettings.Extensions extensions)
Deprecated.
As of Open Inventor 9800. See documentation for more details.
|
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public static final int INVENTOR_SERVICE
ServiceSettings.RunModes.INVENTOR_SERVICE
instead.@Deprecated public static final int INVENTOR_APPLICATION
ServiceSettings.RunModes.INVENTOR_APPLICATION
instead.@Deprecated public static final int INDEPENDENT_SERVICE
ServiceSettings.RunModes.INDEPENDENT_SERVICE
instead.@Deprecated public static final int VOLUMEVIZ
ServiceSettings.Extensions.VOLUMEVIZ
instead.@Deprecated public static final int VOLUMEVIZLDM
ServiceSettings.Extensions.VOLUMEVIZLDM
instead.@Deprecated public static final int MESHVIZ
ServiceSettings.Extensions.MESHVIZ
instead.@Deprecated public static final int MESHVIZXLM
ServiceSettings.Extensions.MESHVIZXLM
instead.@Deprecated public static final int IMAGEVIZ
ServiceSettings.Extensions.IMAGEVIZ
instead.@Deprecated public static final int HARDCOPY
ServiceSettings.Extensions.HARDCOPY
instead.@Deprecated public static final int CATIA5READER
ServiceSettings.Extensions.CATIA5READER
instead.@Deprecated public static final int CATIA6READER
ServiceSettings.Extensions.CATIA6READER
instead.@Deprecated public static final int DWGREADER
ServiceSettings.Extensions.DWGREADER
instead.@Deprecated public static final int IGESREADER
ServiceSettings.Extensions.IGESREADER
instead.@Deprecated public static final int JTREADER
ServiceSettings.Extensions.JTREADER
instead.@Deprecated public static final int PROEREADER
ServiceSettings.Extensions.PROEREADER
instead.@Deprecated public static final int SOLIDEDGEREADER
ServiceSettings.Extensions.SOLIDEDGEREADER
instead.@Deprecated public static final int STEPREADER
ServiceSettings.Extensions.STEPREADER
instead.@Deprecated public static final int SOLIDWORKSREADER
ServiceSettings.Extensions.SOLIDWORKSREADER
instead.@Deprecated public static final int UGREADER
ServiceSettings.Extensions.UGREADER
instead.@Deprecated public static final int VDAREADER
ServiceSettings.Extensions.VDAREADER
instead.@Deprecated public static final int XMTREADER
ServiceSettings.Extensions.XMTREADER
instead.@Deprecated public static final int SSLv2
ServiceSettings.SecurityProtocols.SSLv2
instead.@Deprecated public static final int SSLv3
ServiceSettings.SecurityProtocols.SSLv3
instead.@Deprecated public static final int TLSv1
ServiceSettings.SecurityProtocols.TLSv1
instead.@Deprecated public static final int TLSv1_1
ServiceSettings.SecurityProtocols.TLSv1_1
instead.@Deprecated public static final int TLSv1_2
ServiceSettings.SecurityProtocols.TLSv1_2
instead.public ServiceSettings(ServiceSettings obj)
public ServiceSettings()
@Deprecated public void enableSecureConnection(java.lang.String publicCertificateFilePath, java.lang.String privateKeyFilePath, ServiceSettings.SecurityProtocols enabledSecurityProtocols)
enableSecureConnection(java.lang.String publicCertificateFilePath, java.lang.String privateKeyFilePath, int enabledSecurityProtocols)
instead.enableSecureConnection
method instead.
publicCertificateFilePath
- : Path to a file containing the public certificate used to
authenticate the server to the clients. The certificate has to be
a PEM ("Privacy Enhanced Mail") encoded certificate.
privateKeyFilePath
- : Path to a file containing the private key used to sign the
server key exchange between the client and the server. If the
private key is protected by a passphrase, set the passphrase into
the
ServiceListener.onRequestedPrivateKeyPassphrase
callback.
enabledSecurityProtocols
- : Defines the security protocols used to secure the exchange
between the client and the server. By default, the TLSv1, TLSv1.1
and TLSv1.2 protocols are enabled. A bitmask of the security
protocols is used. Many security protocols can be enabled by using
the logical OR operator. @Deprecated public void enableSecureConnection(java.lang.String publicCertificateFilePath, java.lang.String privateKeyFilePath, int enabledSecurityProtocols)
#enableSecureConnection(java.lang.String
publicCertificateFilePath, java.lang.String privateKeyFilePath,
java.util.EnumSet
enabledSecurityProtocols)
instead.enableSecureConnection
method instead.
publicCertificateFilePath
- : Path to a file containing the public certificate used to
authenticate the server to the clients. The certificate has to be
a PEM ("Privacy Enhanced Mail") encoded certificate.
privateKeyFilePath
- : Path to a file containing the private key used to sign the
server key exchange between the client and the server. If the
private key is protected by a passphrase, set the passphrase into
the
ServiceListener.onRequestedPrivateKeyPassphrase
callback.
enabledSecurityProtocols
- : Defines the security protocols used to secure the exchange
between the client and the server. By default, the TLSv1, TLSv1.1
and TLSv1.2 protocols are enabled. A bitmask of the security
protocols is used. Many security protocols can be enabled by using
the logical OR operator. @Deprecated public ServiceSettings.Extensions getUsedExtensions()
getOivUsedExtensions
method instead.
@Deprecated public void setUsedExtensions(ServiceSettings.Extensions extensions)
setOivUsedExtensions
method instead.
The activation of VolumeVizLDM extension will lead to the activation of
VolumeViz extension.
extensions
- : the bitmask of the Open Inventor extensions used in RemoteViz.
Many extensions can be activated by using the logical OR operator. public void enableSecureConnection(java.lang.String publicCertificateFilePath, java.lang.String privateKeyFilePath)
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String getPublicCertificateFile()
public void enableSecureConnection(java.lang.String publicCertificateFilePath, java.lang.String privateKeyFilePath, java.util.EnumSet<ServiceSettings.SecurityProtocols> enabledSecurityProtocols)
publicCertificateFilePath
- : Path to a file containing the public certificate used to authenticate the server to the clients. The certificate has to be a PEM ("Privacy Enhanced Mail") encoded certificate.
privateKeyFilePath
- : Path to a file containing the private key used to sign the server key exchange between the client and the server. If the private key is protected by a passphrase, set the passphrase into the ServiceListener.onRequestedPrivateKeyPassphrase
callback.
enabledSecurityProtocols
- : Defines the security protocols used to secure the exchange between the client and the server. By default, the TLSv1, TLSv1.1 and TLSv1.2 protocols are enabled. A bitmask of the security protocols is used. Many security protocols can be enabled by using the logical OR operator. public void setPort(short port)
port
- : the port used by the instancepublic void setIP(java.lang.String ip)
ip
- : the IP address used by the instancepublic java.lang.String getIP()
public java.lang.String getPrivateKeyFile()
public java.lang.String getHostname()
public ServiceSettings.SecurityProtocols getEnabledSecurityProtocols()
public boolean isSecureConnection()
public java.util.EnumSet<ServiceSettings.Extensions> getOivUsedExtensions()
public void setOivUsedExtensions(java.util.EnumSet<ServiceSettings.Extensions> extensions)
extensions
- : the bitmask of the Open Inventor extensions used in RemoteViz. Many extensions can be activated by using the logical OR operator. public short getPort()
public void setRunMode(ServiceSettings.RunModes runmode)
runmode
- : the type of run mode used by the instancepublic ServiceSettings.RunModes getRunMode()
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com