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

Class LDAPClient

BaseProtocol --+    
               |    
        Protocol --+
                   |
                  LDAPClient


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, *args, **kwargs)
  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_TopLevel berdecoder = <LDAPBERDecoderContext_TopLevel identities=...
bool debug = False
    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_TopLevel
Value:
<LDAPBERDecoderContext_TopLevel identities={0x10: LDAPMessage} fallbac\
k=None inherit=<LDAPBERDecoderContext_LDAPMessage identities={0x80: LD\
APControls} fallback=<LDAPBERDecoderContext identities={0x40: LDAPBind\
Request, 0x41: LDAPBindResponse, 0x42: LDAPUnbindRequest, 0x43: LDAPSe\
archRequest, 0x44: LDAPSearchResultEntry, 0x45: LDAPSearchResultDone, \
0x46: LDAPModifyRequest, 0x47: LDAPModifyResponse, 0x48: LDAPAddReques\
t, 0x49: LDAPAddResponse, 0x4a: LDAPDelRequest, 0x4b: LDAPDelResponse,\
 0x4c: LDAPModifyDNRequest, 0x4d: LDAPModifyDNResponse, 0x83: LDAPRefe\
...                                                                    

debug

Type:
bool
Value:
False                                                                  

Generated by Epydoc 2.1 on Tue Aug 17 17:08:20 2004 http://epydoc.sf.net