Basic Z39.50 Server Class - Handles all Server functionality
![]() | |
![]() | |
![]() | AcceptClient () wait for client connection |
![]() | DatabaseName (STRING *Value) Get the current database name for this server |
![]() | ForkingInit () Start forking server listening |
![]() | GetMaxSessions () How many children can we spawn? |
![]() | GetServerType () What kind of server are we running? |
![]() | SingleCleanup () Clean up after running the INETD server |
![]() | SingleInit () Initialize the INETD server |
![]() | StartForkingServer (UINT Port) |
![]() | StartServer () Run the server. |
![]() | StartServer (UINT Port) start a server on a given port |
![]() | StartSession () start a single Z39.50 session |
![]() | ZSERVER () Generic constructor |
![]() | ZSERVER (int argc, char **argv) Create a Z39.50 server object |
![]() | ZSERVER (const ZSERVER& OtherServer) Copy constructor for a Z39.50 server object |
![]() | ~ZSERVER () Destroy a server and close all connections |
![]() | 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 |
![]() | BuildReturnRecordList (ZRESPONSERECORDS *Records, STRING es_name, STRING rec_syntax, INT start_point, INT num_requested) Construct a set of records |
![]() | Copy (const ZSERVER& OtherServer) Create a new instance |
![]() | 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 () |
![]() | 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
void Copy(const ZSERVER& OtherServer)
INT Listen(UINT Port)
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)
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(const ZSERVER& OtherServer)
ZSERVER()
~ZSERVER()
INT StartForkingServer(UINT Port)
void SingleInit()
GDT_BOOLEAN ForkingInit()
void SingleCleanup()
void StartSession()
INT StartServer(UINT Port)
void DatabaseName(STRING *Value)
void StartServer()
STRING GetServerType()
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de