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

Class Succeeded

source code

AsyncReply --+    
             |    
    FinalReply --+
                 |
                Succeeded

Successful reply to asynchronous operation.

Instance Methods [hide private]
 
__init__(self, envelope) source code
bool
succeeded(self)
Get whether the reply indicates success.
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
 
throw(self)
Throw contained exception.
source code
Instance Variables [hide private]
object retval
The returned value.
    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__

succeeded(self)

source code 

Get whether the reply indicates success.

Returns: bool
True when succeeded.
Overrides: FinalReply.succeeded
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 
Overrides: AsyncReply.__str__