Package pyfics :: Module protocols :: Class InteractiveIcsParsingProtocol
[hide private]

Class InteractiveIcsParsingProtocol

source code

twisted.internet.protocol.BaseProtocol --+                        
                                         |                        
        twisted.internet.protocol.Protocol --+                    
                                             |                    
      twisted.protocols.basic.LineOnlyReceiver --+                
                                                 |                
                                 SmartLineReceiver --+            
                                                     |            
                                  ChangingLineReceiver --+        
                                                         |        
        twisted.internet.protocol.BaseProtocol --+       |        
                                                 |       |        
                twisted.internet.protocol.Protocol --+   |        
                                                     |   |        
                   twisted.conch.telnet.TelnetProtocol --+        
                                                         |        
                                               IcsProtocol --+    
                                                             |    
                                            IcsParsingProtocol --+
                                                                 |
                                                                InteractiveIcsParsingProtocol

Ics protocol with interactive parsing capabilities. This protocol can parse received data with a specified parser and provides socket interaction for the parser.

Instance Methods [hide private]
 
__init__(self) source code

Inherited from IcsParsingProtocol: datagramReceived, lineReceived

Inherited from ChangingLineReceiver: dataReceived

Inherited from twisted.protocols.basic.LineOnlyReceiver: lineLengthExceeded, sendLine

Inherited from twisted.internet.protocol.Protocol: connectionLost

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

Inherited from twisted.conch.telnet.TelnetProtocol: disableLocal, disableRemote, enableLocal, enableRemote, unhandledCommand, unhandledSubnegotiation

Class Variables [hide private]
anything server = None
This object can be used to provide useful information to the parser for interaction like login and password etc.

Inherited from IcsParsingProtocol: parser

Inherited from IcsProtocol: linealike

Inherited from ChangingLineReceiver: delimiters

Inherited from SmartLineReceiver: MAX_LENGTH, delimiter, rmlinealike

Inherited from twisted.protocols.basic.LineOnlyReceiver (private): _buffer

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

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