Trees | Indices | Help |
---|
|
object --+ | WatchDog
A watchdog object used to track asynchronous messages by serial number. Tracking is persisted using journal files.
|
|||
__metaclass__ Singleton metaclass usage: __metaclass__ = Singleton |
|
|||
|
|||
WatchDogThread |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
URL =
|
|
|||
Journal |
__jnl A journal use for persistence. |
||
Producer |
__producer An AMQP message producer. |
||
bool |
__run Run flag. |
||
str |
url The AMQP broker URL. |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Start a watchdog thread.
|
Add a request by serial number for tacking.
|
Timeout is a tuple of: (start,complete). A proper status='started' has been received and the timout index is changed from 0 to 1. This switches the timeout logic to work off the 2nd timeout which indicates the completion timeout.
|
Progress reporting received. Because a progress report has been received, the current timestamp is bumped 5 seconds only if the timestamp is within 5 seconds of expiration. |
The request has been properly completed by the agent. Tracking is discontinued.
|
Process all outstanding journal entries. When a journal entry (timeout) is detected, a RequestTimeout exception is raised and sent to the replyto AMQP address. The journal entry is deleted. |
Send the (timeout) reply to the replyto AMQP address specified in the journal entry.
|
Send the (timeout) reply to the replyto AMQP address specified in the journal entry.
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu May 2 09:10:28 2013 | http://epydoc.sourceforge.net |