You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ken Giusti (JIRA)" <ji...@apache.org> on 2015/03/24 20:44:52 UTC

[jira] [Resolved] (DISPATCH-101) Create a field iterator that is specific to handling address fields

     [ https://issues.apache.org/jira/browse/DISPATCH-101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ken Giusti resolved DISPATCH-101.
---------------------------------
    Resolution: Fixed

> Create a field iterator that is specific to handling address fields
> -------------------------------------------------------------------
>
>                 Key: DISPATCH-101
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-101
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>          Components: Router Node
>    Affects Versions: 0.3
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>            Priority: Minor
>             Fix For: 0.5
>
>
> The API for the qd_field_iterator_t type has a 'view' concept that is specific to address fields (to, target/source, etc).   However, the iterator is used to parse other types of fields (eg, subject, message annotations, etc). 
> A better model for the API would be to 'subclass' the address field specific functionality (i.e., views)  into its own type, an iterator specifically used to parse address fields.   For specifically:
> typedef struct qd_address_iterator_t {
>    qd_field_iterator_t iterator;
>   pointer_t view_start_pointer;
>   .... other view-specific stuff ...
> };



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org