metaproxy  1.15.0
Public Types | Public Member Functions | Public Attributes | List of all members
metaproxy_1::filter::VirtualDB::Frontend Struct Reference
Collaboration diagram for metaproxy_1::filter::VirtualDB::Frontend:
Collaboration graph

Public Types

typedef std::map< std::string, VirtualDB::Set >::iterator Sets_it
 

Public Member Functions

 Frontend (Rep *rep)
 
 ~Frontend ()
 
void search (Package &package, Z_APDU *apdu)
 
void present (Package &package, Z_APDU *apdu)
 
void scan (Package &package, Z_APDU *apdu)
 
int relay_apdu (Package &package, Z_APDU *apdu)
 
void close (Package &package)
 
void fixup_package (Package &p, BackendPtr b)
 
void fixup_npr_record (ODR odr, Z_NamePlusRecord *npr, BackendPtr b)
 
void fixup_npr_records (ODR odr, Z_Records *records, BackendPtr b)
 
BackendPtr lookup_backend_from_databases (std::list< std::string > databases)
 
BackendPtr create_backend_from_databases (std::list< std::string > databases, int &error_code, std::string &failing_database)
 
BackendPtr init_backend (std::list< std::string > database, Package &package, int &error_code, std::string &addinfo)
 

Public Attributes

mp::Session m_session
 
bool m_is_virtual
 
bool m_in_use
 
yazpp_1::GDU m_init_gdu
 
std::list< BackendPtrm_backend_list
 
std::map< std::string, VirtualDB::Setm_sets
 
Repm_p
 

Detailed Description

Definition at line 71 of file filter_virt_db.cpp.

Member Typedef Documentation

◆ Sets_it

typedef std::map<std::string,VirtualDB::Set>::iterator metaproxy_1::filter::VirtualDB::Frontend::Sets_it

Definition at line 87 of file filter_virt_db.cpp.

Constructor & Destructor Documentation

◆ Frontend()

metaproxy_1::filter::VirtualDB::Frontend::Frontend ( Rep rep)

◆ ~Frontend()

metaproxy_1::filter::VirtualDB::Frontend::~Frontend ( )

Member Function Documentation

◆ close()

void metaproxy_1::filter::VirtualDB::Frontend::close ( Package &  package)

◆ create_backend_from_databases()

BackendPtr metaproxy_1::filter::VirtualDB::Frontend::create_backend_from_databases ( std::list< std::string >  databases,
int &  error_code,
std::string &  failing_database 
)

◆ fixup_npr_record()

void metaproxy_1::filter::VirtualDB::Frontend::fixup_npr_record ( ODR  odr,
Z_NamePlusRecord *  npr,
BackendPtr  b 
)

◆ fixup_npr_records()

void metaproxy_1::filter::VirtualDB::Frontend::fixup_npr_records ( ODR  odr,
Z_Records *  records,
BackendPtr  b 
)

◆ fixup_package()

void metaproxy_1::filter::VirtualDB::Frontend::fixup_package ( Package &  p,
BackendPtr  b 
)

◆ init_backend()

BackendPtr metaproxy_1::filter::VirtualDB::Frontend::init_backend ( std::list< std::string >  database,
Package &  package,
int &  error_code,
std::string &  addinfo 
)

◆ lookup_backend_from_databases()

BackendPtr metaproxy_1::filter::VirtualDB::Frontend::lookup_backend_from_databases ( std::list< std::string >  databases)

◆ present()

void metaproxy_1::filter::VirtualDB::Frontend::present ( Package &  package,
Z_APDU *  apdu 
)

◆ relay_apdu()

int metaproxy_1::filter::VirtualDB::Frontend::relay_apdu ( Package &  package,
Z_APDU *  apdu 
)

◆ scan()

void metaproxy_1::filter::VirtualDB::Frontend::scan ( Package &  package,
Z_APDU *  apdu 
)

◆ search()

void metaproxy_1::filter::VirtualDB::Frontend::search ( Package &  package,
Z_APDU *  apdu 
)

Member Data Documentation

◆ m_backend_list

std::list<BackendPtr> metaproxy_1::filter::VirtualDB::Frontend::m_backend_list

Definition at line 78 of file filter_virt_db.cpp.

◆ m_in_use

bool metaproxy_1::filter::VirtualDB::Frontend::m_in_use

Definition at line 76 of file filter_virt_db.cpp.

◆ m_init_gdu

yazpp_1::GDU metaproxy_1::filter::VirtualDB::Frontend::m_init_gdu

Definition at line 77 of file filter_virt_db.cpp.

◆ m_is_virtual

bool metaproxy_1::filter::VirtualDB::Frontend::m_is_virtual

Definition at line 75 of file filter_virt_db.cpp.

◆ m_p

Rep* metaproxy_1::filter::VirtualDB::Frontend::m_p

Definition at line 105 of file filter_virt_db.cpp.

◆ m_session

mp::Session metaproxy_1::filter::VirtualDB::Frontend::m_session

Definition at line 74 of file filter_virt_db.cpp.

◆ m_sets

std::map<std::string,VirtualDB::Set> metaproxy_1::filter::VirtualDB::Frontend::m_sets

Definition at line 79 of file filter_virt_db.cpp.


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