[
https://issues.apache.org/jira/browse/DISPATCH-101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14354814#comment-14354814
]
ASF subversion and git services commented on DISPATCH-101:
----------------------------------------------------------
Commit 1665503 from [~kgiusti] in branch 'dispatch/trunk'
[ https://svn.apache.org/r1665503 ]
DISPATCH-101: rename those iterator methods that are specific to address
handling
> 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: [email protected]
For additional commands, e-mail: [email protected]