Home | Trees | Indices | Help |
---|
|
object --+ | BasicWatcher
Base class for watching the output of commands
Works like the UNIX-command 'tail -f <file>': the last lines of the file are output. If the file grows then these lines are output as they arrive
|
|||
| __init__(self, filename, silent=False, tailLength=1000, sleep=0.1) | ||
| getSize(self) | ||
|
start(self) Reads the file and does the processing |
||
|
startHandle(self) to be called before the program is started |
||
|
stopHandle(self) called after the program has stopped |
||
|
tailingHandle(self) called when the first line is output |
||
|
lineHandle(self,
line) called every time a new line is read |
||
Inherited from |
|
|||
Inherited from |
|
|
|
|
|
|
|
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0alpha3 on Fri Nov 23 23:44:28 2007 | http://epydoc.sourceforge.net |