Package ldaptor :: Package protocols :: Package ldap :: Module ldifprotocol :: Class LDIF
[hide private]
[frames] | no frames]

Class LDIF

source code

                                        object --+
                                                 |
twisted.internet.protocol.BaseProtocol --+       |
                                         |       |
        twisted.internet.protocol.Protocol --+   |
                                             |   |
   twisted.protocols.basic._PauseableMixin --+   |
                                             |   |
          twisted.protocols.basic.LineReceiver --+
                                                 |
                                                LDIF
Known Subclasses:

Instance Methods [hide private]
 
_parseLine(self, line) source code
 
connectionLost(self, reason=<twisted.python.failure.Failure <class 'twisted.internet.error...)
Called when the connection is shut down.
source code
 
gotEntry(self, obj) source code
 
lineReceived(self, line)
Override this for when each line is received.
source code
 
logicalLineReceived(self, line) source code
 
parseValue(self, val) source code
 
state_HEADER(self, line) source code
 
state_IN_ENTRY(self, line) source code
 
state_WAIT_FOR_DN(self, line) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Inherited from twisted.protocols.basic.LineReceiver: clearLineBuffer, dataReceived, lineLengthExceeded, rawDataReceived, sendLine, setLineMode, setRawMode

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

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

Inherited from twisted.protocols.basic._PauseableMixin: pauseProducing, resumeProducing, stopProducing

Class Variables [hide private]
  data = None
hash(x)
  delimiter = '\n'
The line-ending delimiter to use.
  dn = None
hash(x)
  lastLine = None
hash(x)
  mode = 'HEADER'
  version = None
hash(x)

Inherited from twisted.protocols.basic.LineReceiver: MAX_LENGTH, line_mode

Inherited from twisted.protocols.basic.LineReceiver (private): _buffer, _busyReceiving

Inherited from twisted.internet.protocol.Protocol: __implemented__

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

Inherited from twisted.protocols.basic._PauseableMixin: paused

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

connectionLost(self, reason=<twisted.python.failure.Failure <class 'twisted.internet.error...)

source code 

Called when the connection is shut down.

Clear any circular references here, and any external references to this Protocol. The connection has been closed.

Overrides: twisted.internet.protocol.Protocol.connectionLost
(inherited documentation)

lineReceived(self, line)

source code 

Override this for when each line is received.

Parameters:
  • line - The line which was received with the delimiter removed.
Overrides: twisted.protocols.basic.LineReceiver.lineReceived
(inherited documentation)