#include <LDAPSearchRequest.h>

Public Member Functions | |
| LDAPSearchRequest (const LDAPSearchRequest &req) | |
| LDAPSearchRequest (const std::string &base, int scope, const std::string &filter, const StringList &attrs, bool attrsOnly, LDAPAsynConnection *connect, const LDAPConstraints *cons, bool isReferral=false, const LDAPRequest *parent=0) | |
| virtual | ~LDAPSearchRequest () |
| virtual LDAPMessageQueue * | sendRequest () |
| This method encodes the request an calls the apprpriate functions of the C-API to send the Request to a LDAP-Server. | |
| virtual LDAPRequest * | followReferral (LDAPMsg *ref) |
| virtual bool | equals (const LDAPRequest *req) const |
| Compare this request with another on. | |
Private Member Functions | |
| LDAPSearchRequest () | |
Private Attributes | |
| std::string | m_base |
| int | m_scope |
| std::string | m_filter |
| StringList | m_attrs |
| bool | m_attrsOnly |
| LDAPSearchRequest::LDAPSearchRequest | ( | const LDAPSearchRequest & | req | ) |
References DEBUG, LDAP_DEBUG_CONSTRUCT, m_attrs, m_attrsOnly, m_base, m_filter, and m_scope.
| LDAPSearchRequest::LDAPSearchRequest | ( | const std::string & | base, | |
| int | scope, | |||
| const std::string & | filter, | |||
| const StringList & | attrs, | |||
| bool | attrsOnly, | |||
| LDAPAsynConnection * | connect, | |||
| const LDAPConstraints * | cons, | |||
| bool | isReferral = false, |
|||
| const LDAPRequest * | parent = 0 | |||
| ) |
| LDAPSearchRequest::~LDAPSearchRequest | ( | ) | [virtual] |
References DEBUG, and LDAP_DEBUG_DESTROY.
| LDAPSearchRequest::LDAPSearchRequest | ( | ) | [inline, private] |
Referenced by followReferral().
| bool LDAPSearchRequest::equals | ( | const LDAPRequest * | req | ) | const [virtual] |
Compare this request with another on.
And returns true if they have the same parameters.
Reimplemented from LDAPRequest.
References DEBUG, LDAPRequest::equals(), LDAP_DEBUG_TRACE, m_base, and m_scope.
| LDAPRequest * LDAPSearchRequest::followReferral | ( | LDAPMsg * | ref | ) | [virtual] |
Reimplemented from LDAPRequest.
References DEBUG, LDAPRequest::getConnection(), LDAPMsg::getMessageType(), LDAP_DEBUG_TRACE, LDAPSearchRequest(), m_attrs, m_attrsOnly, LDAPRequest::m_cons, m_filter, m_scope, LDAPAsynConnection::referralConnect(), LDAPAsynConnection::SEARCH_BASE, LDAPAsynConnection::SEARCH_ONE, and LDAPMsg::SEARCH_REFERENCE.
| LDAPMessageQueue * LDAPSearchRequest::sendRequest | ( | ) | [virtual] |
This method encodes the request an calls the apprpriate functions of the C-API to send the Request to a LDAP-Server.
Implements LDAPRequest.
References DEBUG, LDAPControlSet::freeLDAPControlArray(), LDAPConstraints::getAliasDeref(), LDAPConstraints::getClCtrlsArray(), LDAPAsynConnection::getSessionHandle(), LDAPConstraints::getSizeLimit(), LDAPConstraints::getSrvCtrlsArray(), LDAPConstraints::getTimeoutStruct(), LDAPRequest::isReferral(), LDAP_DEBUG_TRACE, m_attrs, m_attrsOnly, m_base, LDAPRequest::m_connection, LDAPRequest::m_cons, m_filter, LDAPRequest::m_msgID, m_scope, and StringList::toCharArray().
StringList LDAPSearchRequest::m_attrs [private] |
Referenced by followReferral(), LDAPSearchRequest(), and sendRequest().
bool LDAPSearchRequest::m_attrsOnly [private] |
Referenced by followReferral(), LDAPSearchRequest(), and sendRequest().
std::string LDAPSearchRequest::m_base [private] |
Referenced by equals(), LDAPSearchRequest(), and sendRequest().
std::string LDAPSearchRequest::m_filter [private] |
Referenced by followReferral(), LDAPSearchRequest(), and sendRequest().
int LDAPSearchRequest::m_scope [private] |
Referenced by equals(), followReferral(), LDAPSearchRequest(), and sendRequest().