#include <LDAPMessage.h>
Inheritance diagram for LDAPMsg:
Public Member Functions | |
virtual | ~LDAPMsg () |
The destructor has no implemenation, because this is an abstract class. | |
int | getMessageType () |
int | getMsgID () |
bool | hasControls () const |
const LDAPControlSet & | getSrvControls () const |
Static Public Member Functions | |
static LDAPMsg * | create (const LDAPRequest *req, LDAPMessage *msg) |
This method is used by the library to parse the results returned by the C-API. | |
Static Public Attributes | |
static const int | BIND_RESPONSE = LDAP_RES_BIND |
static const int | SEARCH_ENTRY = LDAP_RES_SEARCH_ENTRY |
static const int | SEARCH_DONE = LDAP_RES_SEARCH_RESULT |
static const int | SEARCH_REFERENCE = LDAP_RES_SEARCH_REFERENCE |
static const int | MODIFY_RESPONSE = LDAP_RES_MODIFY |
static const int | ADD_RESPONSE = LDAP_RES_ADD |
static const int | DEL_RESPONSE = LDAP_RES_DELETE |
static const int | MODDN_RESPONSE = LDAP_RES_MODDN |
static const int | COMPARE_RESPONSE = LDAP_RES_COMPARE |
static const int | EXTENDED_RESPONSE = LDAP_RES_EXTENDED |
Protected Member Functions | |
LDAPMsg (LDAPMessage *msg) | |
This constructor make a copy of a LDAPMsg-pointer. | |
Protected Attributes | |
LDAPControlSet | m_srvControls |
This attribute stores Server-Control that were returned with the message. | |
bool | m_hasControls |
Private Attributes | |
int | msgType |
int | msgID |
This class is never not instantiated directly. Only its subclasses are used. The main feature of this class is the static method create() (see below)
|
The destructor has no implemenation, because this is an abstract class.
|
|
This constructor make a copy of a LDAPMsg-pointer. The object itself (no the pointer) is copied. Only for internal use. |
|
This method is used by the library to parse the results returned by the C-API. Based on msgtype-Value of the *msg-Parameter this method creates an Object of one of the subtypes of LDAPMsg (e.g. LDAPSearchResult or LDAPResult) that represents the same Message as the *msg-Parameter. *msg is e.g. a Message returned by the C-API's ldap_result call.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This attribute stores Server-Control that were returned with the message.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|