Package pulp :: Package messaging :: Module async :: Class Failed
[hide private]
[frames] | no frames]

Class Failed

source code

AsyncReply --+    
             |    
    FinalReply --+
                 |
                Failed

Failed reply to asynchronous operation. This reply indicates an exception was raised.


See Also: Failed.throw

Instance Methods [hide private]
 
__init__(self, envelope) source code
 
throw(self)
Throw contained exception.
source code
 
__str__(self) source code
    Inherited from FinalReply
bool
failed(self)
Get whether the reply indicates failure.
source code
 
notify(self, listener)
Notify the specified listener.
source code
bool
succeeded(self)
Get whether the reply indicates success.
source code
Instance Variables [hide private]
object exval
The returned exception.
    Inherited from AsyncReply
object any
User defined (round-tripped) data.
str origin
Which endpoint sent the reply.
str sn
The request serial number.
Method Details [hide private]

__init__(self, envelope)
(Constructor)

source code 
Parameters:
  • envelope (Envelope) - The received envelope.
Overrides: AsyncReply.__init__

throw(self)

source code 

Throw contained exception.

Raises:
  • Exception - When contained.
Overrides: FinalReply.throw
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 
Overrides: AsyncReply.__str__