OslServer#

class ansys.optislang.core.osl_server.OslServer#

Base class for classes which provide access to optiSLang server.

Methods

OslServer.dispose()

Terminate all local threads and unregister listeners.

OslServer.shutdown([force])

Shutdown the optiSLang server.

Attributes

OslServer.host

Get optiSLang server address or domain name.

OslServer.osl_version

Version of used optiSLang.

OslServer.osl_version_string

Version of used optiSLang.

OslServer.port

Get the port the osl server is listening on.

OslServer.timeout

Get the timeout value for executing commands.