InternalOptislangManagerImpl#
- class ansys.saf.product_manager.optislang_wrapper.InternalOptislangManagerImpl(**kwargs: Any)#
Bases:
ansys.saf.glow.solution.InstanceManager[OslClient,OptislangStateInfo]A manager of a secure optiSLang product instance, accessed through the optiSLang wrapper service.
Overview#
Return the name of the product in the PIM environment. |
Initialize secure optiSLang wrapper service without deprecation warning. |
|
Return an instance of the custom product’s client given the host and port of the shared product instance. |
|
Save the state of the product instance to the given directory. |
|
Loads the state of the product instance from the given directory. |
|
Gracefully terminates the product instance process. |
Import detail#
from ansys.saf.product_manager.optislang_wrapper import InternalOptislangManagerImpl
Attribute detail#
- InternalOptislangManagerImpl.PRODUCT_NAME = 'optislang-wrapper-secure'#
- InternalOptislangManagerImpl.SERVICE_NAME = 'http'#
Method detail#
- InternalOptislangManagerImpl.initialize(version: str | None = None)#
Initialize secure optiSLang wrapper service without deprecation warning.
- static InternalOptislangManagerImpl.get_connection_mode_for_secure_flags(secure_flags: str | None, hostname: str | None = None) str#
- InternalOptislangManagerImpl.get_client_object_implement(hostname: str, port: int) OslClient#
Return an instance of the custom product’s client given the host and port of the shared product instance.
- classmethod InternalOptislangManagerImpl.get_product_name_implement() str#
Return the name of the product in the PIM environment.
- InternalOptislangManagerImpl.save_state_implement() None#
Save the state of the product instance to the given directory.