Package moppy :: Module mop :: Class CallInterceptor
[show private | hide private]
[frames | no frames]

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)

Method Details

__new__(S, ...)

Returns:
a new object with type S, a subtype of T

Generated by Epydoc 1.1 on Wed May 14 00:03:23 2003 http://epydoc.sf.net