Koha::Z3950Responder - Main class for interfacing with Net::Z3950::SimpleServer
use Koha::Z3950Responder; my $z = Koha::Z3950Responder->new( { add_item_status_subfield => 1, add_status_multi_subfield => 1, debug => 0, num_to_prefetch => 20, config_dir => '/home/koha/etc', yaz_options => [ ], } ); $z->start();
A daemon class that interfaces with Net::Z3950::SimpleServer to provider Z39.50/SRU service. Uses a Session class for the actual functionality.
$self->new({ add_item_status_subfield => 1 });
$z->start();
Start the daemon and begin serving requests. Does not return unless initialization fails or a fatal error occurs.
These methods are SimpleServer callbacks bound to this Z3950Responder object. It's worth noting that these callbacks don't return anything; they both receive and return data in the $args hashref.
Callback that is called when a new connection is initialized
Callback that is called when a new search is performed
Callback that is called when records are requested
Callback that is called when a session is terminated