metaproxy  1.13.0
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
metaproxy_1::filter::SRUtoZ3950::Impl Class Reference
Collaboration diagram for metaproxy_1::filter::SRUtoZ3950::Impl:
Collaboration graph

Public Member Functions

 Impl ()
 
void configure (const xmlNode *xmlnode)
 
void process (metaproxy_1::Package &package)
 

Private Types

typedef std::map< std::string, int > ActiveUrlMap
 

Private Member Functions

FrontendPtr get_frontend (mp::Package &package)
 
void release_frontend (mp::Package &package)
 
void sru (metaproxy_1::Package &package, Z_GDU *zgdu_req)
 
int z3950_build_query (mp::odr &odr_en, Z_Query *z_query, const Z_SRW_searchRetrieveRequest *req) const
 
bool z3950_init_request (mp::Package &package, mp::odr &odr_en, std::string zurl, Z_SRW_PDU *sru_pdu_res, const Z_SRW_PDU *sru_pdu_req) const
 
bool z3950_close_request (mp::Package &package) const
 
bool z3950_search_request (mp::Package &package, mp::Package &z3950_package, mp::odr &odr_en, Z_SRW_PDU *sru_pdu_res, Z_SRW_searchRetrieveRequest const *sr_req, std::string zurl, std::string db_append) const
 
bool z3950_present_request (mp::Package &package, mp::odr &odr_en, Z_SRW_PDU *sru_pdu_res, Z_SRW_searchRetrieveRequest const *sr_req) const
 
bool z3950_to_srw_diagnostics_ok (mp::odr &odr_en, Z_SRW_searchRetrieveResponse *srw_res, Z_Records *records) const
 
int z3950_to_srw_diag (mp::odr &odr_en, Z_SRW_searchRetrieveResponse *srw_res, Z_DefaultDiagFormat *ddf) const
 

Private Attributes

std::map< std::string, const xmlNode * > m_database_explain
 
std::string default_stylesheet
 
boost::mutex m_mutex_session
 
boost::condition m_cond_session_ready
 
std::map< mp::Session, FrontendPtrm_clients
 
int conf_max_recs
 

Detailed Description

Definition at line 57 of file filter_sru_to_z3950.cpp.

Member Typedef Documentation

typedef std::map<std::string, int> metaproxy_1::filter::SRUtoZ3950::Impl::ActiveUrlMap
private

Definition at line 68 of file filter_sru_to_z3950.cpp.

Constructor & Destructor Documentation

metaproxy_1::filter::SRUtoZ3950::Impl::Impl ( )

Member Function Documentation

void metaproxy_1::filter::SRUtoZ3950::Impl::configure ( const xmlNode *  xmlnode)
FrontendPtr metaproxy_1::filter::SRUtoZ3950::Impl::get_frontend ( mp::Package &  package)
private
void metaproxy_1::filter::SRUtoZ3950::Impl::process ( metaproxy_1::Package &  package)
void metaproxy_1::filter::SRUtoZ3950::Impl::release_frontend ( mp::Package &  package)
private
void metaproxy_1::filter::SRUtoZ3950::Impl::sru ( metaproxy_1::Package &  package,
Z_GDU *  zgdu_req 
)
private
int metaproxy_1::filter::SRUtoZ3950::Impl::z3950_build_query ( mp::odr &  odr_en,
Z_Query *  z_query,
const Z_SRW_searchRetrieveRequest *  req 
) const
private
bool metaproxy_1::filter::SRUtoZ3950::Impl::z3950_close_request ( mp::Package &  package) const
private
bool metaproxy_1::filter::SRUtoZ3950::Impl::z3950_init_request ( mp::Package &  package,
mp::odr &  odr_en,
std::string  zurl,
Z_SRW_PDU *  sru_pdu_res,
const Z_SRW_PDU *  sru_pdu_req 
) const
private
bool metaproxy_1::filter::SRUtoZ3950::Impl::z3950_present_request ( mp::Package &  package,
mp::odr &  odr_en,
Z_SRW_PDU *  sru_pdu_res,
Z_SRW_searchRetrieveRequest const *  sr_req 
) const
private
bool metaproxy_1::filter::SRUtoZ3950::Impl::z3950_search_request ( mp::Package &  package,
mp::Package &  z3950_package,
mp::odr &  odr_en,
Z_SRW_PDU *  sru_pdu_res,
Z_SRW_searchRetrieveRequest const *  sr_req,
std::string  zurl,
std::string  db_append 
) const
private
int metaproxy_1::filter::SRUtoZ3950::Impl::z3950_to_srw_diag ( mp::odr &  odr_en,
Z_SRW_searchRetrieveResponse *  srw_res,
Z_DefaultDiagFormat *  ddf 
) const
private
bool metaproxy_1::filter::SRUtoZ3950::Impl::z3950_to_srw_diagnostics_ok ( mp::odr &  odr_en,
Z_SRW_searchRetrieveResponse *  srw_res,
Z_Records *  records 
) const
private

Member Data Documentation

int metaproxy_1::filter::SRUtoZ3950::Impl::conf_max_recs
private

Definition at line 73 of file filter_sru_to_z3950.cpp.

std::string metaproxy_1::filter::SRUtoZ3950::Impl::default_stylesheet
private

Definition at line 66 of file filter_sru_to_z3950.cpp.

std::map<mp::Session, FrontendPtr> metaproxy_1::filter::SRUtoZ3950::Impl::m_clients
private

Definition at line 72 of file filter_sru_to_z3950.cpp.

boost::condition metaproxy_1::filter::SRUtoZ3950::Impl::m_cond_session_ready
private

Definition at line 71 of file filter_sru_to_z3950.cpp.

std::map<std::string, const xmlNode *> metaproxy_1::filter::SRUtoZ3950::Impl::m_database_explain
private

Definition at line 65 of file filter_sru_to_z3950.cpp.

boost::mutex metaproxy_1::filter::SRUtoZ3950::Impl::m_mutex_session
private

Definition at line 70 of file filter_sru_to_z3950.cpp.


The documentation for this class was generated from the following file: