this->setConstraints(cons);
}
-LDAPAsynConnection::~LDAPAsynConnection(){
- DEBUG(LDAP_DEBUG_DESTROY,
- "LDAPAsynConnection::~LDAPAsynConnection()" << endl);
- unbind();
- //delete m_constr;
-}
-
void LDAPAsynConnection::init(const string& hostname, int port){
DEBUG(LDAP_DEBUG_TRACE,"LDAPAsynConnection::init" << endl);
DEBUG(LDAP_DEBUG_TRACE | LDAP_DEBUG_PARAMETER,
LDAPAsynConnection(const std::string& url=std::string("localhost"),
int port=0, LDAPConstraints *cons=new LDAPConstraints() );
- //* Destructor
- virtual ~LDAPAsynConnection();
-
/**
* Initializes a connection to a server.
*