<<

NAME

Koha::Z3950Responder::ZebraSession

SYNOPSIS

Zebra-specific session class that uses Koha::Session as the base class.

FUNCTIONS

INSTANCE METHODS

start_search

    my ($resultset, $hits) = $self->_start_search( $args, $self->{server}->{num_to_prefetch} );

Connect to Zebra and do the search

fetch_record

    my $record = $self->_fetch_record( $resultset, $args, $offset, $server->{num_to_prefetch} );

Fetch a record from Zebra. Caches records in session to avoid too many fetches.

close_handler

Callback that is called when a session is terminated

_set_error_from_zoom

    $self->_set_error_from_zoom( $args, $@ );

Log and set error code and diagnostic message from a ZOOM exception

<<