Package buildbot :: Package status :: Module builder :: Class LogFileScanner
[frames] | no frames]

Class LogFileScanner

source code

twisted.internet.protocol.BaseProtocol --+        
                                         |        
        twisted.internet.protocol.Protocol --+    
                                             |    
     twisted.protocols.basic.NetstringReceiver --+
                                                 |
                                                LogFileScanner

Instance Methods
 
__init__(self, chunk_cb, channels=[]) source code
 
stringReceived(self, line)
Override this for notification when each complete string is received.
source code

Inherited from twisted.protocols.basic.NetstringReceiver: dataReceived, makeConnection, sendString

Inherited from twisted.internet.protocol.Protocol: __provides__, connectionLost

Inherited from twisted.internet.protocol.BaseProtocol: __providedBy__, connectionMade

Class Variables

Inherited from twisted.internet.protocol.Protocol: __implemented__

Inherited from twisted.internet.protocol.BaseProtocol: connected, transport

Instance Variables

Inherited from twisted.protocols.basic.NetstringReceiver: MAX_LENGTH, brokenPeer

Method Details

stringReceived(self, line)

source code 

Override this for notification when each complete string is received.

Parameters:
  • string - The complete string which was received with all framing (length prefix, etc) removed.
Raises:
  • NotImplementedError - because the method has to be implemented by the child class.
Overrides: twisted.protocols.basic.NetstringReceiver.stringReceived
(inherited documentation)