metaproxy  1.15.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

◆ ActiveUrlMap

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

◆ Impl()

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

Member Function Documentation

◆ configure()

void metaproxy_1::filter::SRUtoZ3950::Impl::configure ( const xmlNode *  xmlnode)

◆ get_frontend()

FrontendPtr metaproxy_1::filter::SRUtoZ3950::Impl::get_frontend ( mp::Package &  package)
private

◆ process()

void metaproxy_1::filter::SRUtoZ3950::Impl::process ( metaproxy_1::Package &  package)

◆ release_frontend()

void metaproxy_1::filter::SRUtoZ3950::Impl::release_frontend ( mp::Package &  package)
private

◆ sru()

void metaproxy_1::filter::SRUtoZ3950::Impl::sru ( metaproxy_1::Package &  package,
Z_GDU *  zgdu_req 
)
private

◆ z3950_build_query()

int metaproxy_1::filter::SRUtoZ3950::Impl::z3950_build_query ( mp::odr &  odr_en,
Z_Query *  z_query,
const Z_SRW_searchRetrieveRequest *  req 
) const
private

◆ z3950_close_request()

bool metaproxy_1::filter::SRUtoZ3950::Impl::z3950_close_request ( mp::Package &  package) const
private

◆ z3950_init_request()

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

◆ z3950_present_request()

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

◆ z3950_search_request()

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

◆ z3950_to_srw_diag()

int metaproxy_1::filter::SRUtoZ3950::Impl::z3950_to_srw_diag ( mp::odr &  odr_en,
Z_SRW_searchRetrieveResponse *  srw_res,
Z_DefaultDiagFormat *  ddf 
) const
private

◆ z3950_to_srw_diagnostics_ok()

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

◆ conf_max_recs

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

Definition at line 73 of file filter_sru_to_z3950.cpp.

◆ default_stylesheet

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

Definition at line 66 of file filter_sru_to_z3950.cpp.

◆ m_clients

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

Definition at line 72 of file filter_sru_to_z3950.cpp.

◆ m_cond_session_ready

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

Definition at line 71 of file filter_sru_to_z3950.cpp.

◆ m_database_explain

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.

◆ m_mutex_session

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: