1. OMG Issue

BSA — module DsLSRAnalysis issue

  • Key: BSA-47
  • Legacy Issue Number: 3924
  • Status: closed  
  • Source: Japan Biological Informatics Consortium ( Martin Senger)
  • Summary:

    During implementation of BSA we found that some analysis can return
    huge strings (not a big surprise ). Of course, the preferable way how
    to deal with them is to convert the string(s) to a BioObject and use an
    iterator defined for such object. However, because module DsLSRAnalysis is
    designed for general usage, it should be prepared also for dealing with
    long strings without any conversion (and let the client to do whatever
    needed and wanted).
    Therefore we are proposing to add an Iterator allowing to split long
    strings into manageable pieces (and it would work on sequences of octets
    as well). The remarks for such iterator:

    • It does not raise any exception (such as InvalidIterator) because the
      "iterated object" is considered unmutable.
    • It uses sequence of octets so it can be used for binary data as well
      (imagine transferring picture data - they may quite easily be results of
      an analysis).
    • It does not have method "next()" because it does not seem to be
      necessary to ask just for one single octet.
    • The parameter 'how_many' contains the maximal length of the returned
      sequence of octets in the out parameter.

    Proposed resolution:
    We propose to add the following into DsLSRAnalysis module (we will
    suggest what describing text to be added into the document only after we
    see a concensus on this issue, but basically the text will follow comments
    raised in the summary above):

    interface OctetIterator

    { boolean next_n(in unsigned long how_many, out CORBA::OctetSeq octets); void reset(); void destroy(); }


  • Reported: BSA 1.0b1 — Mon, 2 Oct 2000 04:00 GMT
  • Disposition: Resolved — BSA 1.0
  • Disposition Summary:

    Rejected as out of scope for the FTF. The vote was 1 YES, 3 NO, and 1 ABSTAIN.

  • Updated: Fri, 6 Mar 2015 20:57 GMT