seq  2.0.0
Public Member Functions | Public Attributes | List of all members
redthread.Worker Class Reference

Worker thread. More...

Inheritance diagram for redthread.Worker:

Public Member Functions

def __init__ (self, server, master)
 
def run (self)
 
def finish (self)
 

Public Attributes

 signals
 
 server
 
 sub
 
 control_flag
 

Detailed Description

Worker thread.

Inherits from QRunnable to handler worker thread setup, signals and wrap-up.

:param callback: The function callback to run on this worker thread. Supplied args and kwargs will be passed through to the runner. :type callback: function :param args: Arguments to pass to the callback function :param kwargs: Keywords to pass to the callback function

Constructor & Destructor Documentation

◆ __init__()

def redthread.Worker.__init__ (   self,
  server,
  master 
)

Member Function Documentation

◆ finish()

def redthread.Worker.finish (   self)

◆ run()

def redthread.Worker.run (   self)

Member Data Documentation

◆ control_flag

redthread.Worker.control_flag

◆ server

redthread.Worker.server

◆ signals

redthread.Worker.signals

◆ sub

redthread.Worker.sub

The documentation for this class was generated from the following file: