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

Class FinalReply

source code

AsyncReply --+
             |
            FinalReply

A (final) reply.

Instance Methods [hide private]
 
notify(self, listener)
Notify the specified listener.
source code
bool
succeeded(self)
Get whether the reply indicates success.
source code
bool
failed(self)
Get whether the reply indicates failure.
source code
 
throw(self)
Throw contained exception.
source code
    Inherited from AsyncReply
 
__init__(self, envelope) source code
 
__str__(self) source code
Instance Variables [hide private]
    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]

notify(self, listener)

source code 

Notify the specified listener.

Parameters:
  • listener - The listener to notify.
Overrides: AsyncReply.notify
(inherited documentation)

succeeded(self)

source code 

Get whether the reply indicates success.

Returns: bool
True when succeeded.

failed(self)

source code 

Get whether the reply indicates failure.

Returns: bool
True when failed.

throw(self)

source code 

Throw contained exception.

Raises:
  • Exception - When contained.