LDAPExtResult Class Reference

Object of this class are created by the LDAPMsg::create method if results for an Extended Operation were returned by a LDAP server. More...

#include <LDAPExtResult.h>

Inheritance diagram for LDAPExtResult:
LDAPResult LDAPMsg

List of all members.

Public Member Functions

 LDAPExtResult (const LDAPRequest *req, LDAPMessage *msg)
 Constructor that creates an LDAPExtResult-object from the C-API structures.
virtual ~LDAPExtResult ()
 The Destructor.
const std::string & getResponseOid () const
const std::string & getResponse () const

Detailed Description

Object of this class are created by the LDAPMsg::create method if results for an Extended Operation were returned by a LDAP server.


Constructor & Destructor Documentation

LDAPExtResult::LDAPExtResult ( const LDAPRequest req,
LDAPMessage *  msg 
)

Constructor that creates an LDAPExtResult-object from the C-API structures.

References DEBUG, LDAPRequest::getConnection(), LDAPAsynConnection::getSessionHandle(), and LDAP_DEBUG_CONSTRUCT.

LDAPExtResult::~LDAPExtResult (  )  [virtual]

The Destructor.

References DEBUG, and LDAP_DEBUG_DESTROY.


Member Function Documentation

const string & LDAPExtResult::getResponse (  )  const
Returns:
If the result contained data this method will return the data to the caller as a std::string.
const string & LDAPExtResult::getResponseOid (  )  const
Returns:
The OID of the Extended Operation that has returned this result.

The documentation for this class was generated from the following files:
Generated on Mon Jul 5 13:45:11 2010 for ldapsdk by  doxygen 1.6.3