#include <LDAPRequest.h>
Inheritance diagram for LDAPRequest:
Public Member Functions | |
LDAPRequest (const LDAPRequest &req) | |
LDAPRequest (LDAPAsynConnection *conn, const LDAPConstraints *cons, bool isReferral=false, const LDAPRequest *parent=0) | |
virtual | ~LDAPRequest () |
const LDAPConstraints * | getConstraints () const |
const LDAPAsynConnection * | getConnection () const |
int | getType () const |
int | getMsgID () const |
int | getHopCount () const |
const LDAPRequest * | getParent () const |
bool | isReferral () const |
void | unbind () const |
virtual LDAPMessageQueue * | sendRequest ()=0 |
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)=0 |
virtual bool | equals (const LDAPRequest *req) const |
Compare this request with another on. | |
bool | isCycle () const |
Static Public Attributes | |
static const int | BIND = 0 |
static const int | UNBIND = 2 |
static const int | SEARCH = 3 |
static const int | MODIFY = 7 |
static const int | ADD = 8 |
static const int | DELETE = 10 |
static const int | COMPARE = 14 |
Protected Member Functions | |
LDAPRequest () | |
Protected Attributes | |
bool | m_isReferral |
int | m_requestType |
LDAPConstraints * | m_cons |
LDAPAsynConnection * | m_connection |
const LDAPRequest * | m_parent |
int | m_hopCount |
int | m_msgID |
Each request that is sent to a LDAP-server by this library is represented by a special object that contains the parameters and some other info of the request. This virtual class is the common base classe for these specialized request classes.
|
|
|
|
|
|
|
|
|
Compare this request with another on. And returns true if they have the same parameters. Reimplemented in LDAPSearchRequest. |
|
Implemented in LDAPAddRequest, LDAPBindRequest, LDAPCompareRequest, LDAPDeleteRequest, LDAPExtRequest, LDAPModDNRequest, LDAPModifyRequest, and LDAPSearchRequest. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This method encodes the request an calls the apprpriate functions of the C-API to send the Request to a LDAP-Server.
Implemented in LDAPAddRequest, LDAPBindRequest, LDAPCompareRequest, LDAPDeleteRequest, LDAPExtRequest, LDAPModDNRequest, LDAPModifyRequest, and LDAPSearchRequest. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|