Basic Z39.50 Server Class - Handles all Server functionality
![]() | c_accesslog |
![]() | c_argc |
![]() | c_argv |
![]() | c_client_hostname |
![]() | c_client_ipaddress |
![]() | c_database_count |
![]() | c_dblist |
![]() | c_default_db |
![]() | c_diagsetid |
![]() | c_forking |
![]() | c_groupid |
![]() | c_hitcount |
![]() | c_imp_id |
![]() | c_imp_name |
![]() | c_imp_version |
![]() | c_inipath |
![]() | c_init_req |
![]() | c_init_res |
![]() | c_mapping_table |
![]() | c_max_rec_size |
![]() | c_max_sessions |
![]() | c_output_file |
![]() | c_password |
![]() | c_preferred_msg_size |
![]() | c_result_set |
![]() | c_reverse_name_lookup |
![]() | c_sapi |
![]() | c_sapifile |
![]() | c_sapipath |
![]() | c_server_tcp |
![]() | c_server_type |
![]() | c_trace |
![]() | c_tracelog |
![]() | c_userid |
![]() | TmpSapi |
![]() | AcceptClient () wait for client connection |
![]() | BuildReturnRecordList (ZRESPONSERECORDS *Records, STRING es_name, STRING rec_syntax, INT start_point, INT num_requested) Construct a set of records |
![]() | ESUpdate (ZESTASKPACKAGE *TaskPackage, ZESUPDATEREQUEST & Request) update records in the databases |
![]() | FreeSapi () clean up the sapi |
![]() | Init () Initialize the server |
![]() | Listen (UINT Port) listen for connection on a given port |
![]() | Log (CHR *Method, CHR *Extra, INT Status, INT4 BytesSent) write logging data |
![]() | MetaSearch (STRING DBN) perform a search of user-selected multiple databases |
![]() | Present (ZPRESENTREQUEST & Request) retrieve a record from the databases |
![]() | PresentResponseWithDiagnostic (const STRING & DiagSetOID, const INT4 ErrorCode, const STRING & AddInfo) Generate Present Response |
![]() | Search (ZSEARCHREQUEST & Request) perform a search in the databases |
![]() | SetDefaults () |
![]() | StartForkingServer (UINT Port) |
![]() | StartServer (UINT Port) start a server on a given port |
![]() | StartSession () start a single Z39.50 session |
![]() | StoreDefaults (const STRING & Group) |
![]() | ZSERVER::AddToMappingTable (const STRING &FileToAdd, const STRING &DatabaseName) ad field maps to the master mapping table |
Basic Z39.50 Server Class - Handles all Server functionality
INT c_max_sessions
c_preferred_msg_size
c_database_count
c_hitcount
LONG c_max_rec_size
STRING c_server_type
c_trace
c_tracelog
c_accesslog
c_sapifile
c_sapipath
c_diagsetid
c_imp_id
c_imp_name
c_imp_version
c_reverse_name_lookup
c_client_hostname
c_client_ipaddress
c_groupid
c_userid
c_password
c_default_db
c_inipath
ZINITREQUEST* c_init_req
ZINITRESPONSE* c_init_res
INT c_forking
TCPSOCK* c_server_tcp
SAPI_RSET* c_result_set
SAPI* c_sapi
PLIST c_dblist
REGISTRY* c_mapping_table
INT c_argc
CHR** c_argv
SAPI* TmpSapi
INT AcceptClient()
INT Listen(UINT Port)
void StartSession()
SAPI_DB* MetaSearch(STRING DBN)
void FreeSapi()
ZSEARCHRESPONSE* Search(ZSEARCHREQUEST & Request)
ZPRESENTRESPONSE* Present(ZPRESENTREQUEST & Request)
ZESUPDATERESPONSE* ESUpdate(ZESTASKPACKAGE *TaskPackage, ZESUPDATEREQUEST & Request)
void SetDefaults()
void StoreDefaults(const STRING & Group)
INT StartForkingServer(UINT Port)
INT StartServer(UINT Port)
void Log(CHR *Method, CHR *Extra, INT Status, INT4 BytesSent)
void ZSERVER::AddToMappingTable(const STRING &FileToAdd, const STRING &DatabaseName)
void Init()
ZPRESENTRESPONSE* PresentResponseWithDiagnostic(const STRING & DiagSetOID, const INT4 ErrorCode, const STRING & AddInfo)
void BuildReturnRecordList(ZRESPONSERECORDS *Records, STRING es_name, STRING rec_syntax, INT start_point, INT num_requested)
ZSERVER(int argc, char **argv)
~ZSERVER()
void DatabaseName(STRING *Value)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de