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

Class BaseHook

object --+
         |
        BaseHook


BaseHook

a callable that will be called when a callsite is reached. It may be triggered before the callsite is called, after, or when an exception occurs. An hook may also wrap around a callsite, meaning that it will be able to do some job before and after the callsite executes.
Method Summary
a new object with type S, a subtype of T __new__(S, ...)
  getAfterAdvice(self)
  getBeforeAdvice(self)
  getExceptionHandler(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:19 2003 http://epydoc.sf.net