| Home | Trees | Index | Help |
|
|---|
| Package buildbot :: Package scripts :: Module logwatcher :: Class LogWatcher |
|
BaseProtocol--+ |Protocol--+ |LineOnlyReceiver--+ | LogWatcher
| Method Summary | |
|---|---|
__init__(self,
logfile)
| |
finished(self,
results)
| |
Override this for when each line is received. | |
poll(self)
| |
start(self)
| |
timeout(self)
| |
| Inherited from LineOnlyReceiver | |
Translates bytes into lines, and calls lineReceived. | |
Called when the maximum line length has been reached. | |
Sends a line to the other end of the connection. | |
| Inherited from Protocol | |
Called when the connection is shut down. | |
| Class Variable Summary | |
|---|---|
str |
delimiter: The line-ending delimiter to use. |
float |
POLL_INTERVAL = 0.10000000000000001 |
float |
TIMEOUT_DELAY = 5.0 |
| Inherited from LineOnlyReceiver | |
int |
MAX_LENGTH: The maximum length of a line to allow (If a sent line is longer than
this, the connection is dropped). |
| Inherited from Protocol | |
Implements |
__implemented__ = <implementedBy twisted.internet.protoc...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
| Method Details |
|---|
lineReceived(self, line)Override this for when each line is received.
|
| Class Variable Details |
|---|
delimiterThe line-ending delimiter to use. By default this is '\r\n'.
|
POLL_INTERVAL
|
TIMEOUT_DELAY
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Sun Dec 10 22:04:45 2006 | http://epydoc.sf.net |