NAME

Bio::Das::ProServer::SourceAdaptor::Transport::generic - A generic transport layer for deriving others from

VERSION

$Revision: 687 $

SYNOPSIS

DESCRIPTION

SUBROUTINES/METHODS

new - base-class object constructor

my $transport = Bio::Das::ProServer::SourceAdaptor::Transport::<impl>->new({
  'dsn'    => 'my-dsn-name',   # useful for hydras
  'config' => $config->{$dsn}, # subsection of config file for this adaptor holding this transport
});

init_time - get/set the time() this transport was initialised/reset

my $iInitTime = $oTransport->init_time();
$oTransport->init_time($iInitTime);

init - Post-constructor initialisation hook

By default does nothing - override in subclasses if necessary

config - Handle on config file (given at construction)

my $cfg = $transport->config();

query - Execute a query against this transport

Unimplemented in base-class. You almost always want to override this

my $resultref = $transport->query(...);

DIAGNOSTICS

CONFIGURATION AND ENVIRONMENT

DEPENDENCIES

INCOMPATIBILITIES

BUGS AND LIMITATIONS

AUTHOR

Roger Pettett <rmp@sanger.ac.uk>.

LICENSE AND COPYRIGHT

Copyright (c) 2007 The Sanger Institute

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See DISCLAIMER.txt for disclaimers of warranty.