Public Member Functions | Public Attributes
multi_interface_roam.weakcallback.WeakCallback Class Reference
Inheritance diagram for multi_interface_roam.weakcallback.WeakCallback:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __call__
def __init__
def default_callback
def object_deleted

Public Attributes

 callback_attr
 token
 wref

Detailed Description

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.


Constructor & Destructor Documentation

Create a new Weak Callback calling the method @mcallback

Reimplemented in multi_interface_roam.weakcallback.WeakCallbackCb.

Definition at line 13 of file weakcallback.py.


Member Function Documentation

def multi_interface_roam.weakcallback.WeakCallback.__call__ (   self,
  args,
  kwargs 
)

Definition at line 21 of file weakcallback.py.

Called instead of callback when expired

Definition at line 29 of file weakcallback.py.

Called when callback expires

Reimplemented in multi_interface_roam.weakcallback.WeakCallbackCb.

Definition at line 33 of file weakcallback.py.


Member Data Documentation

Definition at line 13 of file weakcallback.py.

Definition at line 13 of file weakcallback.py.

Definition at line 13 of file weakcallback.py.


The documentation for this class was generated from the following file:


multi_interface_roam
Author(s): Blaise Gassend
autogenerated on Thu Jan 2 2014 11:26:16