Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

net::z3950::simple2zoom(3pm) [debian man page]

Net::Z3950::Simple2ZOOM(3pm)				User Contributed Perl Documentation			      Net::Z3950::Simple2ZOOM(3pm)

NAME
Net::Z3950::Simple2ZOOM - Gateway between Z39.50 and SRU/SRW SYNOPSIS
use Net::Z3950::Simple2ZOOM; $s2z = new Net::Z3950::Simple2ZOOM("somefile.xml"); $s2z->launch_server("someServer", @ARGV); DESCRIPTION
The "Net::Z3950::Simple2ZOOM" module provides all the application logic of a generic "Swiss Army Gateway" between Z39.50 and SRU. It is used by the "simple2zoom" program, and there is probably no good reason to make any other program to use it. For that reason, this library-level documentation is more than usually terse. The library has only two public entry points: the "new()" constructor and the "launch_server()" method. The synopsis above shows how they are used: a Simple2ZOOM object is created using "new()", then the "launch_server()" method is invoked on it to -- get ready for a big surprise here -- launch the server. (In fact, this synopsis is essentially the whole of the code of the "simple2zoom" program. All the work happens inside the library.) METHODS
new($configFile) $s2z = new Net::Z3950::Simple2ZOOM("somefile.xml"); Creates and returns a new Simple2ZOOM object, configured according to the XML file $configFile that is the only argument. The format of this file is described in "Net::Z3950::Simple2ZOOM::Config". launch_server($label, @ARGV) $s2z->launch_server("someServer", @ARGV); Launches the Simple2ZOOM server: this method never returns. The $label string is used in logging, and the @ARGV vector of command-line arguments is interpreted by the YAZ backend server as described at http://www.indexdata.dk/yaz/doc/server.invocation.tkl SEE ALSO
The "simple2zoom" program. The "Net::Z3950::Simple2ZOOM::Config" manual for the configuration-file format. The "Net::Z3950::SimpleServer" module. The "ZOOM" module (in the "Net::Z3950::ZOOM" distribution). AUTHOR
Sebastian Hammer <quinn@indexdata.com> Mike Taylor <mike@indexdata.com> COPYRIGHT AND LICENCE
Copyright (C) 2007 by Index Data. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available. perl v5.12.4 2009-04-08 Net::Z3950::Simple2ZOOM(3pm)

Check Out this Related Man Page

Net::Hotline::TrackerListItem(3pm)			User Contributed Perl Documentation			Net::Hotline::TrackerListItem(3pm)

NAME
Net::Hotline::TrackerListItem - File object used internally by Net::Hotline::Client SYNOPSIS
use Net::Hotline::TrackerListItem; $file = new Net::Hotline::TrackerListItem; $file->address("hotline.foo.com"); $file->port(5500); ... DESCRIPTION
Net::Hotline::TrackerListItem is a simple class for storing and retrieving tracked server information, You should never have to create your own Net::Hotline::TrackerListItem objects when using Net::Hotline::Client. Getting and (to a lesser extent) setting attributes is all that should be necessary. CONSTRUCTION
new ADDRESS, PORT, NUM_USERS, NAME, DESCRIPTION With exactly five arguments, creates a new Net::Hotline::TrackerListItem object with all attributes set. With no arguments, creates a new Net::Hotline::TrackerListItem object with all attributes set to undef. METHODS
All the Net::Hotline::TrackerListItem methods are simple attribute get/set routines. If given an argument, they set an attribute. In all cases, they return the current value of the attribute. address TEXT The IP address of the server. port NUM The port the server is running on. num_users NUM The (claimed) number of users connected to the server. name TEXT The server name, as set by the server administrator (i.e. "Ambrosia Software" or "Myth Central") description TEXT The server description, as set by the server administrator. AUTHOR
John C. Siracusa (siracusa@mindspring.com) COPYRIGHT
Copyright(c) 1999 by John Siracusa. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2002-11-27 Net::Hotline::TrackerListItem(3pm)
Man Page