Package ldaptor :: Package protocols :: Package ldap :: Module ldapserver :: Class BaseLDAPServer
[show private | hide private]
[frames | no frames]

Class BaseLDAPServer

BaseProtocol --+    
               |    
        Protocol --+
                   |
                  BaseLDAPServer

Known Subclasses:
LDAPServer, Proxy

Method Summary
  __init__(self)
  checkControls(self, controls)
  connectionLost(self, reason)
Called when TCP connection has been lost
  connectionMade(self)
TCP connection has opened
  dataReceived(self, recd)
  failDefault(self, resultCode, errorMessage)
  handle(self, msg)
  handleUnknown(self, request, controls, callback)
  queue(self, id, op)
  unsolicitedNotification(self, msg)
  _callErrorHandler(self, name, resultCode, errorMessage)
  _cbHandle(self, response, id)
  _cbLDAPError(self, reason, name)
  _cbOtherError(self, reason, name)
    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=<twisted.python.failure.Failure twisted.internet.error.Co...)

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 Fri May 6 14:57:59 2005 http://epydoc.sf.net