Package ldaptor :: Package protocols :: Package ldap :: Module ldapclient :: Class LDAPClient
[show private | hide private]
[frames | no frames]

Class LDAPClient

BaseProtocol --+    
               |    
        Protocol --+
                   |
                  LDAPClient

Known Subclasses:
OLD_DoSearch

An LDAP client
Method Summary
  __init__(self)
  bind(self, dn, auth)
  connectionLost(self, reason)
Called when TCP connection has been lost
  connectionMade(self)
TCP connection has opened
  dataReceived(self, recd)
  handle(self, msg)
  queue(self, op, handler)
  unbind(self)
  unsolicitedNotification(self, msg)
  _handle_bind_msg(self, resp)
    Inherited from Protocol
  connectionFailed(self)
(Deprecated)
    Inherited from BaseProtocol
  makeConnection(self, transport)
Make a connection to a transport and a server.

Class Variable Summary
LDAPBERDecoderContext_LDAPMessage berdecoder = <LDAPBERDecoderContext_LDAPMessage identiti...
    Inherited from Protocol
tuple __implements__ = (<class 'twisted.internet.interfaces.IP...
    Inherited from BaseProtocol
int connected = 0                                                                     
NoneType transport = None                                                                  

Method Details

connectionLost(self, reason)

Called when TCP connection has been lost
Overrides:
twisted.internet.protocol.Protocol.connectionLost

connectionMade(self)

TCP connection has opened
Overrides:
twisted.internet.protocol.BaseProtocol.connectionMade

Class Variable Details

berdecoder

Type:
LDAPBERDecoderContext_LDAPMessage
Value:
<LDAPBERDecoderContext_LDAPMessage identities={16: <class ldaptor.prot\
ocols.pureldap.LDAPMessage at 0x4081e05c>} fallback=None inherit=<LDAP\
BERDecoderContext identities={64: <class ldaptor.protocols.pureldap.LD\
APBindRequest at 0x4081e14c>, 65: <class ldaptor.protocols.pureldap.LD\
APBindResponse at 0x4081e23c>, 66: <class ldaptor.protocols.pureldap.L\
DAPUnbindRequest at 0x4081e26c>, 67: <class ldaptor.protocols.pureldap\
.LDAPSearchRequest at 0x4081e7ac>, 68: <class ldaptor.protocols.pureld\
ap.LDAPSearchResultEntry at 0x4081e7dc>, 69: <class ldaptor.protocols.\
...                                                                    

Generated by Epydoc 2.0 on Fri Mar 12 17:21:13 2004 http://epydoc.sf.net