Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

edg::workload::common::ldif2classad::LDAPSynchConnection Class Reference

A Concrete Synchronous connection to an LDAP Server. More...

Inheritance diagram for edg::workload::common::ldif2classad::LDAPSynchConnection:

edg::workload::common::ldif2classad::LDAPConnection List of all members.

Public Methods

 LDAPSynchConnection (const std::string &, const std::string &, int, long=15)
 Constructor.

virtual ~LDAPSynchConnection ()
 Distructor.

bool open ()
 Opens a connection to the Server. More...

bool close ()
 Closes a connection to the Server. More...

generic_search_result_texecute (LDAPQuery *q)
 Performs LDAP search operations using ldap_search_st() allowing a timeout to be specified. More...

bool is_established () const
 Conenction test wheter established or not. More...


Detailed Description

A Concrete Synchronous connection to an LDAP Server.

This class implements all virtual superclass methods in order to provide a synchronous concrete connection to the LDAP Server.

See also:
LDAPConnection
Author:
Salvatore Monforte salvatore.monforte@ct.infn.it


Member Function Documentation

bool close   [virtual]
 

Closes a connection to the Server.

This function overrides virtual LDAP Connection one.

Returns:
true on success, false otherwise.

Implements edg::workload::common::ldif2classad::LDAPConnection.

generic_search_result_t* execute LDAPQuery   q [virtual]
 

Performs LDAP search operations using ldap_search_st() allowing a timeout to be specified.

Parameters:
q  the query which will be executed.
Returns:
a pointer to generic search result. This pointer should be explicitly freed.

Implements edg::workload::common::ldif2classad::LDAPConnection.

bool is_established   const [virtual]
 

Conenction test wheter established or not.

Returns:
true if connection is established, false otherwise.

Implements edg::workload::common::ldif2classad::LDAPConnection.

bool open   [virtual]
 

Opens a connection to the Server.

This function overrides virtual LDAP Connection one.

Returns:
true on success, false otherwise.

Implements edg::workload::common::ldif2classad::LDAPConnection.


The documentation for this class was generated from the following file:
Generated on Fri May 14 14:18:26 2004 for COMMON API - configuration, jobid, ldif2classadi, logger, process, requestad, socket++i, task, utilities by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002