metaproxy  1.13.0
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
metaproxy_1::filter::Zoom::Frontend Class Reference
Inheritance diagram for metaproxy_1::filter::Zoom::Frontend:
Inheritance graph
Collaboration diagram for metaproxy_1::filter::Zoom::Frontend:
Collaboration graph

Public Member Functions

 Frontend (Impl *impl)
 
 ~Frontend ()
 

Private Member Functions

void handle_package (mp::Package &package)
 
void handle_search (mp::Package &package)
 
void auth (mp::Package &package, Z_InitRequest *req, int *error, char **addinfo, ODR odr)
 
BackendPtr explain_search (mp::Package &package, std::string &database, int *error, char **addinfo, mp::odr &odr, std::string torus_url, std::string &torus_db, std::string &realm)
 
void handle_present (mp::Package &package)
 
BackendPtr get_backend_from_databases (mp::Package &package, std::string &database, int *error, char **addinfo, mp::odr &odr, int *proxy_step)
 
bool create_content_session (mp::Package &package, BackendPtr b, int *error, char **addinfo, ODR odr, std::string authentication, std::string proxy, std::string realm)
 
void prepare_elements (BackendPtr b, Odr_oid *preferredRecordSyntax, const char *element_set_name, bool &enable_pz2_retrieval, bool &enable_pz2_transform, bool &enable_record_transform, bool &assume_marc8_charset, bool &use_turbomarc)
 
Z_Records * get_records (Package &package, Odr_int start, Odr_int number_to_present, int *error, char **addinfo, Odr_int *number_of_records_returned, ODR odr, BackendPtr b, Odr_oid *preferredRecordSyntax, const char *element_set_name)
 
Z_Records * get_explain_records (Package &package, Odr_int start, Odr_int number_to_present, int *error, char **addinfo, Odr_int *number_of_records_returned, ODR odr, BackendPtr b, Odr_oid *preferredRecordSyntax, const char *element_set_name)
 
bool retry (mp::Package &package, mp::odr &odr, BackendPtr b, int &error, char **addinfo, int &proxy_step, int &same_retries, int &proxy_retries)
 
void log_diagnostic (mp::Package &package, int error, const char *addinfo)
 

Private Attributes

Implm_p
 
bool m_is_virtual
 
bool m_in_use
 
std::string session_realm
 
yazpp_1::GDU m_init_gdu
 
BackendPtr m_backend
 

Friends

class Impl
 

Detailed Description

Definition at line 126 of file filter_zoom.cpp.

Constructor & Destructor Documentation

metaproxy_1::filter::Zoom::Frontend::Frontend ( Impl impl)
metaproxy_1::filter::Zoom::Frontend::~Frontend ( )

Member Function Documentation

void metaproxy_1::filter::Zoom::Frontend::auth ( mp::Package &  package,
Z_InitRequest *  req,
int *  error,
char **  addinfo,
ODR  odr 
)
private
bool metaproxy_1::filter::Zoom::Frontend::create_content_session ( mp::Package &  package,
BackendPtr  b,
int *  error,
char **  addinfo,
ODR  odr,
std::string  authentication,
std::string  proxy,
std::string  realm 
)
private
BackendPtr metaproxy_1::filter::Zoom::Frontend::explain_search ( mp::Package &  package,
std::string &  database,
int *  error,
char **  addinfo,
mp::odr &  odr,
std::string  torus_url,
std::string &  torus_db,
std::string &  realm 
)
private
BackendPtr metaproxy_1::filter::Zoom::Frontend::get_backend_from_databases ( mp::Package &  package,
std::string &  database,
int *  error,
char **  addinfo,
mp::odr &  odr,
int *  proxy_step 
)
private
Z_Records* metaproxy_1::filter::Zoom::Frontend::get_explain_records ( Package &  package,
Odr_int  start,
Odr_int  number_to_present,
int *  error,
char **  addinfo,
Odr_int *  number_of_records_returned,
ODR  odr,
BackendPtr  b,
Odr_oid *  preferredRecordSyntax,
const char *  element_set_name 
)
private
Z_Records* metaproxy_1::filter::Zoom::Frontend::get_records ( Package &  package,
Odr_int  start,
Odr_int  number_to_present,
int *  error,
char **  addinfo,
Odr_int *  number_of_records_returned,
ODR  odr,
BackendPtr  b,
Odr_oid *  preferredRecordSyntax,
const char *  element_set_name 
)
private
void metaproxy_1::filter::Zoom::Frontend::handle_package ( mp::Package &  package)
private
void metaproxy_1::filter::Zoom::Frontend::handle_present ( mp::Package &  package)
private
void metaproxy_1::filter::Zoom::Frontend::handle_search ( mp::Package &  package)
private
void metaproxy_1::filter::Zoom::Frontend::log_diagnostic ( mp::Package &  package,
int  error,
const char *  addinfo 
)
private
void metaproxy_1::filter::Zoom::Frontend::prepare_elements ( BackendPtr  b,
Odr_oid *  preferredRecordSyntax,
const char *  element_set_name,
bool &  enable_pz2_retrieval,
bool &  enable_pz2_transform,
bool &  enable_record_transform,
bool &  assume_marc8_charset,
bool &  use_turbomarc 
)
private
bool metaproxy_1::filter::Zoom::Frontend::retry ( mp::Package &  package,
mp::odr &  odr,
BackendPtr  b,
int &  error,
char **  addinfo,
int &  proxy_step,
int &  same_retries,
int &  proxy_retries 
)
private

Friends And Related Function Documentation

friend class Impl
friend

Definition at line 127 of file filter_zoom.cpp.

Member Data Documentation

BackendPtr metaproxy_1::filter::Zoom::Frontend::m_backend
private

Definition at line 133 of file filter_zoom.cpp.

bool metaproxy_1::filter::Zoom::Frontend::m_in_use
private

Definition at line 130 of file filter_zoom.cpp.

yazpp_1::GDU metaproxy_1::filter::Zoom::Frontend::m_init_gdu
private

Definition at line 132 of file filter_zoom.cpp.

bool metaproxy_1::filter::Zoom::Frontend::m_is_virtual
private

Definition at line 129 of file filter_zoom.cpp.

Impl* metaproxy_1::filter::Zoom::Frontend::m_p
private

Definition at line 128 of file filter_zoom.cpp.

std::string metaproxy_1::filter::Zoom::Frontend::session_realm
private

Definition at line 131 of file filter_zoom.cpp.


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