Package pulp :: Package messaging :: Module store :: Class PendingReceiver
[hide private]
[frames] | no frames]

Class PendingReceiver

source code

        object --+        
                 |        
threading._Verbose --+    
                     |    
      threading.Thread --+
                         |
                        PendingReceiver

A pending queue receiver.

Instance Methods [hide private]
 
__init__(self, queue, listener)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
run(self)
Main receiver (thread).
source code
 
dispatch(self, envelope)
Dispatch the envelope to the listener.
source code
 
stop(self)
Stop the receiver.
source code

Inherited from threading.Thread: __repr__, getName, isAlive, isDaemon, join, setDaemon, setName, start

Inherited from threading.Thread (private): _set_daemon

Inherited from threading._Verbose (private): _note

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Instance Variables [hide private]
bool __run
The main run loop flag.
pulp.messaging.consumer.Consumer consumer
The queue listener.
PendingQueue queue
The PendingQueue being read.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, queue, listener)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

run(self)

source code 

Main receiver (thread). Read and dispatch envelopes.

Overrides: threading.Thread.run

dispatch(self, envelope)

source code 

Dispatch the envelope to the listener.

Parameters: