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

Class IcsProtocol

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
Known Subclasses:
IcsParsingProtocol

Ics protocol implementation.

Instance Methods [hide private]

Inherited from ChangingLineReceiver: dataReceived

Inherited from twisted.protocols.basic.LineOnlyReceiver: lineLengthExceeded, lineReceived, 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]
list of string linealike = ['login: ', 'password: ']
When SmartLineReceiver receives data ending with one the strings in this list, it'll add a delimiter at the end.

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