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


NAME

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

Back to Top


VERSION

$Revision: 687 $

Back to Top


SYNOPSIS

Back to Top


DESCRIPTION

Back to Top


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(...);

Back to Top


DIAGNOSTICS

Back to Top


CONFIGURATION AND ENVIRONMENT

Back to Top


DEPENDENCIES

Back to Top


INCOMPATIBILITIES

Back to Top


BUGS AND LIMITATIONS

Back to Top


AUTHOR

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

Back to Top


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.

Back to Top

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