Net::Z3950::AsyncZ adds an additional layer of asynchronous support for the Z3950 module through the use
of multiple forked processes. I hope that users will also find that it provides a convenient
front end to Net::Z3950. My initial idea was to write something that
would provide a convenient means of processing and formatting Z39.50 records--which I
did, using the Z3950 synchronous code. But I also wanted something that could
handle queries to large numbers of servers at one session. Working on this part of my
project, I found that I had trouble with the Z3950 asynchronous features
and so ended up with what I have here.
AsyncZ.html.
Net::Z3950::AsyncZ distribution.AsyncZReport.html deals with how records are treated line by line
and how you can affect the apearance of a record's line by line outputNet::Z3950::AsyncZ distribution and annotates them
in a line-by-line fashion. It's a basic HOW-TO.
Net::Z3950::AsyncZ. The other modules are either internal to Net::AsyncZ
or accessed indirectly or in part indirectly.
AsyncZ and Options documentation
AsyncZ documentation
AsyncZ documentation
Options and AsyncZ documentation
- [11]$all =$std =$xtr=%MARC_FIELDS_STD%MARC_FIELDS_XTRA, [8]@EXPORT@EXPORT_OKabortABSTRACTApologiaAUTHORBasic Mechanisms of Net::Z3950::AsyncZBasic Scriptbasic.plbasic_pretty error-handling functionbasic_pretty output functionbasic_pretty.plcallbackCallback FunctionscbChanging %MARC_FIELDSClass MethodsConstructorConstructor and MethodsConstructor, Methods, and ExportsCOPYRIGHT AND LICENSEDealing with Headers in the Callback FunctionDEFAULTDESCRIPTIONdoAbortdoRetryerrnoerror-handling functionErrorsExample 1Example 1:Example 2Example 2:Example 3Examples of Net::Z3950::AsyncZ::ErrMsg Error HandlingExported NamesExports from Net::Z3950::AsyncZExports from Net::Z3950::AsyncZ::ErrMsgExports from Net::Z3950::AsyncZ::ErrorsFor example:formatFormat CallbackFormat Callback (not required)format function:Format Methodsget/set methodsget_DEFAULT_patget_GRS1_patget_MARC_patget_patsget_RAW_patgetErrorsgetMaxErrorsgetZ_RecNumgetZ_RecSizeGRS-1headerHeadersHTMLintervalIntroductionisNetworkisSuccessisSystemisTryAgainisUnspecifiedisZ3950isZ_ErrorisZ_HeaderisZ_InfoisZ_nonRetryableisZ_ServerNamelogMain RoutineMARCMARC Bibliographic FormatMARC ExamplesMARC Fields HashesMARC fields priority sequence:marc_fieldsMARC_HTML.plmarc_substmarc_userdefmarc_xclmaxpipesMethodsMethods for Setting _params OptionsMethods to deal with errors and error messagesMethods to handle several types of headers which AsyncZ attaches to recordsMethods to set options for Net::Z3950::AsyncZ::Options::_params objectsmonitormore_pretty format functionmore_pretty Main Routinemore_pretty.plmsgNAMENet::Z3950::AsyncZ By ExampleNet::Z3950::AsyncZ methods for ErrMsg handlingNet::Z3950::AsyncZ::_printErrorNet::Z3950::AsyncZ::asyncZOptionsNet::Z3950::AsyncZ::delZ_headerNet::Z3950::AsyncZ::delZ_pidNet::Z3950::AsyncZ::delZ_serverNameNet::Z3950::AsyncZ::ErrMsgNet::Z3950::AsyncZ::ErrMsg methods for ErrMsg HandlingNet::Z3950::AsyncZ::ErrMsg ObjectNet::Z3950::AsyncZ::ErrorsNet::Z3950::AsyncZ::get_ZRawRecNet::Z3950::AsyncZ::getErrorsNet::Z3950::AsyncZ::getMaxErrorsNet::Z3950::AsyncZ::getZ_RecNumNet::Z3950::AsyncZ::isZ_DEFAULTNet::Z3950::AsyncZ::isZ_ErrorNet::Z3950::AsyncZ::isZ_GRSNet::Z3950::AsyncZ::isZ_HeaderNet::Z3950::AsyncZ::isZ_InfoNet::Z3950::AsyncZ::isZ_MARCNet::Z3950::AsyncZ::isZ_nonRetryableNet::Z3950::AsyncZ::isZ_PIDNet::Z3950::AsyncZ::isZ_RAWNet::Z3950::AsyncZ::isZ_ServerNameNet::Z3950::AsyncZ::newNet::Z3950::AsyncZ::noZ_ResponseNet::Z3950::AsyncZ::Option::_params::invalidOptionNet::Z3950::AsyncZ::Option::_params::optionNet::Z3950::AsyncZ::Option::_params::testNet::Z3950::AsyncZ::Option::_params::validOptionNet::Z3950::AsyncZ::Options::_paramsNet::Z3950::AsyncZ::prep_RawNet::Z3950::AsyncZ::Report::newNet::Z3950::AsyncZ::reportResultNet::Z3950::AsyncZ::Z_ServerNameNote:noZ_Responsenum_to_fetchObject MethodObject MethodsOptional Parameters for Constructoroptionsoptions.plor:Output CallbackOutput Callback (required)output functionoutputs an error string of the following format:Overviewparam:parameters:params:pipetimeoutPlain TextpreferredRecordSyntaxqueryquerytypeRAWraw.plrecordRecord DataRecord Format TypesReferences to MARC HashesrenderRequired Parameters for Constructorretryreturn value:return:returnsreturns:Row Formatting PrioritiesserversSetting OptionsSome Useful MARC web links:startrecSubroutinesswap_attemptsswap_checkSYNOPSISthree referencestimeouttimeout_mintypetype of record:Types of HeadersTypes of OptionsTypes:User Defined FormattingUsing theutf8Word about Parameters and OptionsZ3950_optionsZ_ServerName