ServerThread#

class ansys.dyna.core.pre.launcher.ServerThread(threadID, port, ip, server_path)#

Bases: threading.Thread

Provides server thread properties.

Parameters:
threadID
port
ip
server_path

Overview#

run

Method representing the thread’s activity.

termination

Import detail#

from ansys.dyna.core.pre.launcher import ServerThread

Attribute detail#

ServerThread.threadID#
ServerThread.port#
ServerThread.ip#
ServerThread.server_path#
ServerThread.process = None#

Method detail#

ServerThread.run()#

Method representing the thread’s activity.

You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.

ServerThread.termination()#