Home | Trees | Index | Help |
|
---|
Package twisted :: Package manhole :: Module explorer :: Class _WatchMonkey |
|
I hang on a method and tell you what I see.
TODO: Aya! Now I just do browseObject all the time, but I could tell you what got called with what when and returning what.Method Summary | |
---|---|
Make a monkey to hang on this instance object. | |
Pretend to be the method I replaced, and ring the bell. | |
Install myself on my instance in place of this method. | |
Remove myself from this instance and restore the original method. |
Class Variable Summary | |
---|---|
NoneType |
oldMethod = None |
Method Details |
---|
__init__(self,
instance)
Make a monkey to hang on this instance object.
|
__call__(self,
instance,
*a,
**kw)
Pretend to be the method I replaced, and ring the bell.
|
install(self, methodIdentifier)Install myself on my instance in place of this method. |
uninstall(self)Remove myself from this instance and restore the original method. (I hope.) |
Class Variable Details |
---|
oldMethod
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:08:53 2004 | http://epydoc.sf.net |