Class CallInterceptor
object
--+
|
CallInterceptor
CallInterceptor
A CallInterceptor is a given point in object-oriented code. It can be
a method call, object initialization, variable retrieval...
It provides the place to attatch hooks to the call site.
A particular CallInterceptor can belong to many selections
Method Summary |
|
__init__(self,
callableObj)
|
|
__call__(self,
*args,
**kwargs)
|
a new object with type S, a subtype of T
|
__new__ (S,
...)
|
|
addHook(self,
hook)
|
|
bind(self)
|
|
removeHook(self,
hook)
|
|
unbind(self)
|
__new__(S,
...)
-
- Returns:
-
a new object with type S, a subtype of T
|