Package Bio :: Package config :: Module DBRegistry :: Class BioCorbaDB
[show private | hide private]
[frames | no frames]

Class BioCorbaDB

RegisterableObject --+    
                     |    
              DBObject --+
                         |
                        BioCorbaDB


Represent a BioCorba BioSequenceCollection for SeqRecord objects.

Returns SeqRecord-like objects.
Method Summary
  __init__(self, name, ior_ref, server_type, doc)
Intialize with IOR reference for a BioCorba Collection.
  _convert_to(self, data, to_io)
S._convert_to(data, to_io) -> another data type
  _get(self, key)
S._get(key) -> data
  _get_corba_client(self, ior_ref, retriever)
Get a connection to the CORBA server based on the ior_ref
  _get_retriever(self, server_type)
Return a BioCorba retriever object based on the specified server.
    Inherited from DBObject
  __getitem__(self, key)
  get(self, key, default)
S.get(key[, default]) -> data
  get_as(self, key, to_io, default)
S.get_as(key[, to_io][, default]) -> object
  set(self, key, data)
  _make_pickleable(self, data)
S._make_pickleable(key, data) -> pickleable_obj
  _set(self, key, data)
S._set(key, data)
  _unmake_pickleable(self, pickleable_obj)
S._unmake_pickleable(key, pickleable_obj) -> data

Method Details

__init__(self, name, ior_ref, server_type=None, doc='')
(Constructor)

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.
Overrides:
Bio.config.DBRegistry.DBObject.__init__

_convert_to(self, data, to_io)

S._convert_to(data, to_io) -> another data type
Overrides:
Bio.config.DBRegistry.DBObject._convert_to (inherited documentation)

_get(self, key)

S._get(key) -> data
Overrides:
Bio.config.DBRegistry.DBObject._get (inherited documentation)

_get_corba_client(self, ior_ref, retriever)

Get a connection to the CORBA server based on the ior_ref

_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.

Generated by Epydoc 2.1 on Thu Aug 10 20:01:09 2006 http://epydoc.sf.net