Package beepy :: Package core :: Module _util :: Class DataEnqueuer
[show private | hide private]
[frames | no frames]

Class DataEnqueuer

object --+                
         |                
  _Verbose --+            
             |            
        Thread --+        
                 |        
     LoopingThread --+    
                     |    
           isMonitored --+
                         |
                        DataEnqueuer


A DataEnqueuer reads data from some sort of data source and puts it onto the provided DataQueue.
Method Summary
  __init__(self, dataq, errEvent, name)
event is a threading.Event to be used for synchronisation dataq is a Queue used to put the data onto.
  enqueueData(self)
  loop(self)
  stop(self)
    Inherited from isMonitored
  clearError(self)
  getError(self)
  setError(self, exc)
setError() sets my error condition to the exception that is passed in.
    Inherited from LoopingThread
  cleanup(self)
  run(self)
  terminate(self)
    Inherited from Thread
  __repr__(self)
  getName(self)
  isAlive(self)
  isDaemon(self)
  join(self, timeout)
  setDaemon(self, daemonic)
  setName(self, name)
  start(self)
  _set_daemon(self)
    Inherited from _Verbose
  _note(self, format, *args)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)
    Inherited from type
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T

Class Variable Summary
    Inherited from Thread
bool _Thread__initialized = False

Method Details

__init__(self, dataq, errEvent, name=None)
(Constructor)

event is a threading.Event to be used for synchronisation dataq is a Queue used to put the data onto.
Overrides:
beepy.core._util.isMonitored.__init__

Generated by Epydoc 2.0 on Thu Sep 30 14:39:25 2004 http://epydoc.sf.net