| Home | Trees | Index | Help |
|
|---|
| Package ldaptor :: Package protocols :: Package ldap :: Module ldifprotocol :: Class LDIF |
|
BaseProtocol--+ |Protocol--+ |_PauseableMixin--+ |LineReceiver--+ |object--+ | LDIF
InMemoryLDIFProtocol,
LDIFDelta,
LDIFDriver,
StoreParsedLDIF| Method Summary | |
|---|---|
Called when the connection is shut down. | |
gotEntry(self,
obj)
| |
Override this for when each line is received. | |
logicalLineReceived(self,
line)
| |
parseValue(self,
val)
| |
state_HEADER(self,
line)
| |
state_IN_ENTRY(self,
line)
| |
state_WAIT_FOR_DN(self,
line)
| |
| Inherited from object | |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Inherited from LineReceiver | |
Clear buffered data. | |
Protocol.dataReceived. | |
Called when the maximum line length has been reached. | |
Override this for when raw data is received. | |
Sends a line to the other end of the connection. | |
Sets the line-mode of this receiver. | |
Sets the raw mode of this receiver. | |
| Class Variable Summary | |
|---|---|
NoneType |
data = None |
str |
delimiter: The line-ending delimiter to use. |
NoneType |
dn = None |
NoneType |
lastLine = None |
str |
mode = 'HEADER'
|
NoneType |
version = None |
| Inherited from LineReceiver | |
int |
line_mode = 1 |
int |
MAX_LENGTH: The maximum length of a line to allow (If a sent line is longer than
this, the connection is dropped). |
| Inherited from Protocol | |
Implements |
__implemented__ = <implementedBy twisted.internet.protoc...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
| Method Details |
|---|
connectionLost(self, reason=<twisted.python.failure.Failure twisted.internet.error.Co...)Called when the connection is shut down. Clear any circular references here, and any external references to this Protocol. The connection has been closed.
|
lineReceived(self, line)Override this for when each line is received.
|
| Class Variable Details |
|---|
data
|
delimiterThe line-ending delimiter to use. By default this is '\r\n'.
|
dn
|
lastLine
|
mode
|
version
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Sun Oct 1 10:49:45 2006 | http://epydoc.sf.net |