Package ldaptor :: Package protocols :: Package ldap :: Module ldapconnector :: Class LDAPConnector
[hide private]
[frames] | no frames]

Class LDAPConnector

source code

twisted.names.srvconnect.SRVConnector --+
                                        |
                                       LDAPConnector

Instance Methods [hide private]
 
__init__(self, reactor, dn, factory, overrides=None, bindAddress=None) source code
 
__getstate__(self) source code
 
_findOverRide(self, dn, overrides) source code
 
_isQueryNeeded(self)
Is there both need to do an SRV query.
source code
 
connect(self)
Start connection to remote server.
source code
 
pickServer(self) source code

Inherited from twisted.names.srvconnect.SRVConnector: __providedBy__, __provides__, connectionFailed, connectionLost, disconnect, getDestination, stopConnecting

Inherited from twisted.names.srvconnect.SRVConnector (private): _cbGotServers, _ebGotServers, _ebServiceUnknown, _reallyConnect, _serverCmp

Class Variables [hide private]

Inherited from twisted.names.srvconnect.SRVConnector: __implemented__, stopAfterDNS

Method Details [hide private]

__init__(self, reactor, dn, factory, overrides=None, bindAddress=None)
(Constructor)

source code 
Parameters:
  • domain - The domain to connect to. If passed as a unicode string, it will be encoded using idna encoding.
  • defaultPort - Optional default port number to be used when SRV lookup fails and the service name is unknown. This should be the port number associated with the service name as defined by the IANA registry.
Overrides: twisted.names.srvconnect.SRVConnector.__init__
(inherited documentation)

connect(self)

source code 

Start connection to remote server.

Overrides: twisted.names.srvconnect.SRVConnector.connect
(inherited documentation)

pickServer(self)

source code 
Overrides: twisted.names.srvconnect.SRVConnector.pickServer