$search
Public Member Functions | |
def | __call__ |
def | __init__ |
def | default_callback |
def | object_deleted |
Public Attributes | |
callback_attr | |
token | |
wref |
A Weak Callback object that will keep a reference to the connecting object with weakref semantics. This allows object A to pass a callback method to object S, without object S keeping A alive.
Definition at line 6 of file weakcallback.py.
def multi_interface_roam::weakcallback::WeakCallback::__call__ | ( | self, | ||
args, | ||||
kwargs | ||||
) |
Definition at line 21 of file weakcallback.py.
def multi_interface_roam::weakcallback::WeakCallback::__init__ | ( | self, | ||
mcallback | ||||
) |
Create a new Weak Callback calling the method @mcallback
Reimplemented in multi_interface_roam::weakcallback::WeakCallbackCb.
Definition at line 13 of file weakcallback.py.
def multi_interface_roam::weakcallback::WeakCallback::default_callback | ( | self, | ||
args, | ||||
kwargs | ||||
) |
Called instead of callback when expired
Definition at line 29 of file weakcallback.py.
def multi_interface_roam::weakcallback::WeakCallback::object_deleted | ( | self, | ||
wref | ||||
) |
Called when callback expires
Reimplemented in multi_interface_roam::weakcallback::WeakCallbackCb.
Definition at line 33 of file weakcallback.py.
Definition at line 18 of file weakcallback.py.
Definition at line 19 of file weakcallback.py.
Definition at line 17 of file weakcallback.py.