Package dbus :: Module lowlevel :: Class PendingCall
[hide private]
[frames] | no frames]

Class PendingCall

source code

object --+
         |
        PendingCall

Object representing a pending D-Bus call, returned by Connection.send_message_with_reply(). Cannot be instantiated directly.
Instance Methods [hide private]
 
block()
Block until this pending call has completed and the associated reply handler has been called.
source code
 
cancel()
Cancel this pending call. Its reply will be ignored and the associated reply handler will never be called.
source code
bool
get_completed()
Return true if this pending call has completed.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

block()

source code 

Block until this pending call has completed and the associated reply handler has been called.

This can lead to a deadlock, if the called method tries to make a synchronous call to a method in this application.

get_completed()

source code 

Return true if this pending call has completed.

If so, its associated reply handler has been called and it is no longer meaningful to cancel it.

Returns: bool