Public Member Functions | Public Attributes
modbus.post_threading.PostThread Class Reference
Inheritance diagram for modbus.post_threading.PostThread:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def execute
def kill
def run

Public Attributes

 args
 daemon
 func
 isRunning
 kwargs
 result

Detailed Description

Object that manages the threaded execution of a given function 

Definition at line 56 of file post_threading.py.


Constructor & Destructor Documentation

def modbus.post_threading.PostThread.__init__ (   self,
  func 
)
Creates the thread object with the method to be called 

Definition at line 59 of file post_threading.py.


Member Function Documentation

def modbus.post_threading.PostThread.execute (   self,
  args,
  kwargs 
)
Store the method call arguments and start the thread, returns the thread object to the caller 

Definition at line 67 of file post_threading.py.

Definition at line 79 of file post_threading.py.

Thread execution, call the function with saved arguments, saves result and change flag at the end 

Definition at line 74 of file post_threading.py.


Member Data Documentation

Definition at line 67 of file post_threading.py.

Definition at line 59 of file post_threading.py.

Definition at line 59 of file post_threading.py.

Definition at line 59 of file post_threading.py.

Definition at line 67 of file post_threading.py.

Definition at line 59 of file post_threading.py.


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


modbus
Author(s): Sven Bock
autogenerated on Thu Jun 6 2019 17:39:35