Public Member Functions | Public Attributes | Private Member Functions | List of all members
tester.Timeout Class Reference

Public Member Functions

def __init__ (self, duration, on_timeout=None)
 
def cancel (self)
 
def left (self)
 
def reset (self)
 

Public Attributes

 deadline
 
 duration
 
 on_timeout
 
 timer
 

Private Member Functions

def _on_timer (self)
 

Detailed Description

Definition at line 49 of file tester.py.

Constructor & Destructor Documentation

def tester.Timeout.__init__ (   self,
  duration,
  on_timeout = None 
)

Definition at line 50 of file tester.py.

Member Function Documentation

def tester.Timeout._on_timer (   self)
private

Definition at line 69 of file tester.py.

def tester.Timeout.cancel (   self)

Definition at line 63 of file tester.py.

def tester.Timeout.left (   self)

Definition at line 66 of file tester.py.

def tester.Timeout.reset (   self)

Definition at line 56 of file tester.py.

Member Data Documentation

tester.Timeout.deadline

Definition at line 53 of file tester.py.

tester.Timeout.duration

Definition at line 51 of file tester.py.

tester.Timeout.on_timeout

Definition at line 54 of file tester.py.

tester.Timeout.timer

Definition at line 52 of file tester.py.


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


test_bond
Author(s): Stuart Glaser
autogenerated on Wed Sep 2 2020 03:40:47