Table of Contents

Class: BioCorba Bio/sources/__init__.py

Represent a BioCorba BioSequenceCollection for SeqRecord objects.

XXX This has the same SeqRecord-returning style as BioSQL.

Base Classes   
Source
Methods   
__init__
_get_corba_client
_get_retriever
_rawget
  __init__ 
__init__ (
        self,
        name,
        doc="",
        ior_ref=None,
        server_type=None,
        )

Intialize with IOR reference for a BioCorba Collection.

ior_ref is a URL or file reference to an IOR string. The IOR should reference a BioSequenceCollection. This is the top level BioCorba object we should use for making objects available.

server_type is a hack parameter which might be necessary if there are server/client issues (ie. as with Perl ORBit) that we need to muck around with. If not set, we just use a standard retriever.

  _get_corba_client 
_get_corba_client (
        self,
        ior_ref,
        retriever,
        )

Get a connection to the CORBA server based on the ior_ref

  _get_retriever 
_get_retriever ( self,  server_type )

Return a BioCorba retriever object based on the specified server.

This returns a ready-to-go client retriever which can be used to connect to a BioCorba server.

Exceptions   
ValueError( "Unexpected server type specified: %s" % server_type )
  _rawget 
_rawget ( self,  params )


Table of Contents

This document was automatically generated on Mon Jul 1 12:03:18 2002 by HappyDoc version 2.0.1