BackendType
#
- class ansys.geometry.core.connection.backend.BackendType(*args, **kwds)#
Bases:
enum.Enum
Provides an enum holding the available backend types.
Overview#
Determine whether the backend is CoreService based or not. |
|
Determine whether the backend is a headless service or not. |
|
Determine whether the backend is a Linux service or not. |
Import detail#
from ansys.geometry.core.connection.backend import BackendType
Attribute detail#
- BackendType.DISCOVERY = 0#
- BackendType.SPACECLAIM = 1#
- BackendType.WINDOWS_SERVICE = 2#
- BackendType.LINUX_SERVICE = 3#
- BackendType.CORE_WINDOWS = 4#
- BackendType.CORE_LINUX = 5#
- BackendType.DISCOVERY_HEADLESS = 6#
Method detail#
- static BackendType.is_core_service(backend_type: BackendType) bool #
Determine whether the backend is CoreService based or not.
- Parameters:
- backend_type
BackendType
The backend type to check whether or not it’s a CoreService type.
- backend_type
- Returns:
- bool
True if the backend is CoreService based, False otherwise.
- static BackendType.is_headless_service(backend_type: BackendType) bool #
Determine whether the backend is a headless service or not.
- Parameters:
- backend_type
BackendType
The backend type to check whether or not it’s a headless service.
- backend_type
- Returns:
- bool
True if the backend is a headless service, False otherwise.
- static BackendType.is_linux_service(backend_type: BackendType) bool #
Determine whether the backend is a Linux service or not.
- Parameters:
- backend_type
BackendType
The backend type to check whether or not it’s running on Linux.
- backend_type
- Returns:
- bool
True if the backend is running on Linux, False otherwise.