ldapsdk
0.0.1
|
This class represents some options that can be set for a LDAPConnection operation. More...
#include <LDAPConstraints.h>
Public Member Functions | |
LDAPConstraints () | |
LDAPConstraints (const LDAPConstraints &c) | |
~LDAPConstraints () | |
void | setAliasDeref (int deref) |
void | setMaxTime (int t) |
void | setSizeLimit (int s) |
void | setReferralChase (bool rc) |
void | setHopLimit (int hop) |
void | setReferralRebind (const LDAPRebind *rebind) |
void | setServerControls (const LDAPControlSet *ctrls) |
void | setClientControls (const LDAPControlSet *ctrls) |
int | getAliasDeref () const |
int | getMaxTime () const |
int | getSizeLimit () const |
const LDAPRebind * | getReferralRebind () const |
const LDAPControlSet * | getServerControls () const |
const LDAPControlSet * | getClientControls () const |
LDAPControl ** | getSrvCtrlsArray () const |
LDAPControl ** | getClCtrlsArray () const |
timeval * | getTimeoutStruct () const |
bool | getReferralChase () const |
int | getHopLimit () const |
Static Public Attributes | |
static const int | DEREF_NEVER = 0x00 |
static const int | DEREF_SEARCHING = 0x01 |
static const int | DEREF_FINDING = 0x02 |
static const int | DEREF_ALWAYS = 0x04 |
This class represents some options that can be set for a LDAPConnection operation.
Namely these are time and size limits. Options for referral chasing and a default set of client of server controls to be used with every request
LDAPConstraints::LDAPConstraints | ( | ) |
References DEBUG, DEREF_NEVER, and LDAP_DEBUG_CONSTRUCT.
LDAPConstraints::LDAPConstraints | ( | const LDAPConstraints & | c | ) |
References DEBUG, and LDAP_DEBUG_CONSTRUCT.
LDAPConstraints::~LDAPConstraints | ( | ) |
References DEBUG, and LDAP_DEBUG_DESTROY.
int LDAPConstraints::getAliasDeref | ( | ) | const |
References DEBUG, and LDAP_DEBUG_TRACE.
Referenced by LDAPSearchRequest::sendRequest().
LDAPControl ** LDAPConstraints::getClCtrlsArray | ( | ) | const |
References DEBUG, and LDAP_DEBUG_TRACE.
Referenced by LDAPDeleteRequest::sendRequest(), LDAPExtRequest::sendRequest(), LDAPCompareRequest::sendRequest(), LDAPModDNRequest::sendRequest(), LDAPAddRequest::sendRequest(), LDAPModifyRequest::sendRequest(), LDAPBindRequest::sendRequest(), LDAPSearchRequest::sendRequest(), LDAPSaslBindRequest::sendRequest(), and LDAPSaslInteractiveBind::sendRequest().
const LDAPControlSet * LDAPConstraints::getClientControls | ( | ) | const |
References DEBUG, and LDAP_DEBUG_TRACE.
int LDAPConstraints::getHopLimit | ( | ) | const |
References DEBUG, and LDAP_DEBUG_TRACE.
Referenced by LDAPMessageQueue::chaseReferral().
int LDAPConstraints::getMaxTime | ( | ) | const |
References DEBUG, and LDAP_DEBUG_TRACE.
bool LDAPConstraints::getReferralChase | ( | ) | const |
References DEBUG, and LDAP_DEBUG_TRACE.
Referenced by LDAPMessageQueue::getNext().
const LDAPRebind * LDAPConstraints::getReferralRebind | ( | ) | const |
References DEBUG, and LDAP_DEBUG_TRACE.
Referenced by LDAPAsynConnection::referralConnect().
const LDAPControlSet * LDAPConstraints::getServerControls | ( | ) | const |
References DEBUG, and LDAP_DEBUG_TRACE.
int LDAPConstraints::getSizeLimit | ( | ) | const |
References DEBUG, and LDAP_DEBUG_TRACE.
Referenced by LDAPSearchRequest::sendRequest().
LDAPControl ** LDAPConstraints::getSrvCtrlsArray | ( | ) | const |
References DEBUG, and LDAP_DEBUG_TRACE.
Referenced by LDAPDeleteRequest::sendRequest(), LDAPExtRequest::sendRequest(), LDAPCompareRequest::sendRequest(), LDAPModDNRequest::sendRequest(), LDAPAddRequest::sendRequest(), LDAPModifyRequest::sendRequest(), LDAPBindRequest::sendRequest(), LDAPSearchRequest::sendRequest(), LDAPSaslBindRequest::sendRequest(), and LDAPSaslInteractiveBind::sendRequest().
timeval * LDAPConstraints::getTimeoutStruct | ( | ) | const |
References DEBUG, and LDAP_DEBUG_TRACE.
Referenced by LDAPSearchRequest::sendRequest().
void LDAPConstraints::setAliasDeref | ( | int | deref | ) |
References DEBUG, DEREF_ALWAYS, DEREF_FINDING, DEREF_NEVER, DEREF_SEARCHING, LDAP_DEBUG_PARAMETER, and LDAP_DEBUG_TRACE.
void LDAPConstraints::setClientControls | ( | const LDAPControlSet * | ctrls | ) |
References DEBUG, and LDAP_DEBUG_TRACE.
void LDAPConstraints::setHopLimit | ( | int | hop | ) |
References DEBUG, LDAP_DEBUG_PARAMETER, and LDAP_DEBUG_TRACE.
void LDAPConstraints::setMaxTime | ( | int | t | ) |
References DEBUG, LDAP_DEBUG_PARAMETER, and LDAP_DEBUG_TRACE.
void LDAPConstraints::setReferralChase | ( | bool | rc | ) |
References DEBUG, LDAP_DEBUG_PARAMETER, and LDAP_DEBUG_TRACE.
void LDAPConstraints::setReferralRebind | ( | const LDAPRebind * | rebind | ) |
References DEBUG, and LDAP_DEBUG_TRACE.
void LDAPConstraints::setServerControls | ( | const LDAPControlSet * | ctrls | ) |
References DEBUG, and LDAP_DEBUG_TRACE.
void LDAPConstraints::setSizeLimit | ( | int | s | ) |
References DEBUG, LDAP_DEBUG_PARAMETER, and LDAP_DEBUG_TRACE.
|
static |
Referenced by setAliasDeref().
|
static |
Referenced by setAliasDeref().
|
static |
Referenced by LDAPConstraints(), and setAliasDeref().
|
static |
Referenced by setAliasDeref().