Qpid Proton
  1. Qpid Proton
  2. PROTON-324

Perl arrays can be easily extracted from a Data object.

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5
    • Component/s: proton-c
    • Labels:
      None

      Description

      The current code attempts to mimic how the Ruby code previously behaved. But that model had problems, and Perl doesn't have the same language capabilities as Ruby. The implementation for extracting an Array should be refactored accordingly.

        Activity

        Hide
        ASF subversion and git services added a comment -

        Commit 1491441 from Darryl L. Pierce
        [ https://svn.apache.org/r1491441 ]

        PROTON-324: Refactor Perl support for working with arrays and Data objects

        Renamed the TypeHelper class to Mapping to be more like the Ruby
        language. Deleted the previous qpid::proton::Array class since it
        tightly coupled the developer's code to Proton where it should not do
        so.

        Provides three new methods:

        qpid::proton::put_array_into - put an array into a Data object

        qpid::proton::get_array_from - gets an array out of a Data object

        qpid::proton::get_list_from - gets a list out of a Data object

        Show
        ASF subversion and git services added a comment - Commit 1491441 from Darryl L. Pierce [ https://svn.apache.org/r1491441 ] PROTON-324 : Refactor Perl support for working with arrays and Data objects Renamed the TypeHelper class to Mapping to be more like the Ruby language. Deleted the previous qpid::proton::Array class since it tightly coupled the developer's code to Proton where it should not do so. Provides three new methods: qpid::proton::put_array_into - put an array into a Data object qpid::proton::get_array_from - gets an array out of a Data object qpid::proton::get_list_from - gets a list out of a Data object

          People

          • Assignee:
            Darryl L. Pierce
            Reporter:
            Darryl L. Pierce
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development