Package gofer :: Package rmi :: Module store :: Class PendingThread
[hide private]
[frames] | no frames]

Class PendingThread

source code

        object --+        
                 |        
threading._Verbose --+    
                     |    
      threading.Thread --+
                         |
                        PendingThread
Known Subclasses:

A pending queue receiver.

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
run(self)
Main receiver (thread).
source code
 
dispatch(self, envelope)
Dispatch the envelope.
source code
 
commit(self, sn)
Commit a dispatched envelope.
source code
 
stop(self)
Stop the receiver.
source code

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

Inherited from threading.Thread (private): _reset_internal_locks, _set_daemon, _set_ident

Inherited from threading._Verbose (private): _note

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

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

Inherited from threading.Thread: daemon, ident, name

Inherited from threading.Thread (private): _block

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) 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.

Parameters:

commit(self, sn)

source code 

Commit a dispatched envelope.

Parameters:
  • sn (str) - The serial number to commit.