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]
 
logicalLineReceived(self, line) source code
 
lineReceived(self, line)
Override this for when each line is received.
source code
 
parseValue(self, val) source code
 
_parseLine(self, line) source code
 
state_HEADER(self, line) source code
 
state_WAIT_FOR_DN(self, line) source code
 
state_IN_ENTRY(self, line) source code
 
gotEntry(self, obj) source code
 
connectionLost(self, reason=<twisted.python.failure.Failure <class 'twisted.internet.error...)
Called when the connection is shut down.
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]
  delimiter = '\n'
The line-ending delimiter to use.
  mode = 'HEADER'
  dn = None
hash(x)
  data = None
hash(x)
  lastLine = None
hash(x)
  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]

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)

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)