Package wtf :: Package ext :: Module sharedance :: Class _Connected
[hide private]
[frames] | no frames]

Class _Connected

source code

        object --+    
util.BaseDecorator --+

Separation of the socket handling out of the connection object
Instance Methods [hide private]
__call__(self, inst, *args, **kwargs)
Decorating logic
source code

Inherited from util.BaseDecorator: __get__, __getattr__, __init__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]

Inherited from util.BaseDecorator: __doc__, __name__

Inherited from util.BaseDecorator (private): _func

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__call__(self, inst, *args, **kwargs)
(Call operator)

source code 
Decorating logic
  • inst (Sharedance) - Proxy instance
  • args (tuple) - function parameters
  • kwargs (dict) - function parameters
Returns: any
Whatever the deocorated function returns
Overrides: util.BaseDecorator.__call__