Home | Trees | Index | Help |
|
---|
Package ldaptor :: Package protocols :: Package ldap :: Module ldifprotocol :: Class LDIF |
|
BaseProtocol
--+ |Protocol
--+ |LineReceiver
--+ |object
--+ | LDIF
InMemoryLDIFProtocol
,
LDIFDriver
,
StoreParsedLDIF
,
LDIFDelta
Method Summary | |
---|---|
_parseLine(self,
line)
| |
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. | |
Inherited from Protocol | |
(Deprecated) | |
Inherited from BaseProtocol | |
Called when a connection is made. | |
Make a connection to a transport and a server. |
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). |
str |
_LineReceiver__buffer = ''
|
Inherited from Protocol | |
tuple |
__implements__ = (<class 'twisted.internet.interfaces.IP...
|
Inherited from BaseProtocol | |
int |
connected = 0 |
NoneType |
transport = None |
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 Tue Aug 17 17:08:21 2004 | http://epydoc.sf.net |