class documentation
class InMemoryLDIFProtocol(ldifprotocol.LDIF): (source)
Receive LDIF data and gather results into an ReadOnlyInMemoryLDAPEntry. You can override lookupFailed and addFailed to provide smarter error handling. They are called as Deferred errbacks; returning the reason causes error to pass onward and abort the whole operation. Returning None from lookupFailed skips that entry, but continues loading. When the full LDIF data has been read, the completed Deferred will trigger.
Method | __init__ |
Undocumented |
Method | add |
Undocumented |
Method | connection |
Undocumented |
Method | got |
Undocumented |
Method | lookup |
Undocumented |
Instance Variable | completed |
Undocumented |
Instance Variable | db |
Undocumented |
Method | _add |
Undocumented |
Instance Variable | _deferred |
Undocumented |
Inherited from LDIF
:
Method | line |
Undocumented |
Method | logical |
Undocumented |
Method | parse |
Undocumented |
Method | state_ |
Undocumented |
Method | state_ |
Undocumented |
Method | state_ |
Undocumented |
Class Variable | delimiter |
Undocumented |
Class Variable | version |
Undocumented |
Instance Variable | data |
Undocumented |
Instance Variable | dn |
Undocumented |
Instance Variable | last |
Undocumented |
Instance Variable | mode |
Undocumented |
Method | _parse |
Undocumented |