You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2018/08/30 18:17:00 UTC

[jira] [Created] (PROTON-1925) [proton-j] Add some enums to Section and DeliveryState to make type determination simpler

Timothy Bish created PROTON-1925:
------------------------------------

             Summary: [proton-j] Add some enums to Section and DeliveryState to make type determination simpler
                 Key: PROTON-1925
                 URL: https://issues.apache.org/jira/browse/PROTON-1925
             Project: Qpid Proton
          Issue Type: Improvement
          Components: proton-j
    Affects Versions: proton-j-0.29.0
            Reporter: Timothy Bish
            Assignee: Timothy Bish
             Fix For: proton-j-0.30.0


Add enums for the known Section and DeliveryState types to allow for easier identification of the types when writing code to process the events for incoming messages and delivery state updates.  Right now we are forced to use many instanceof calls to decide what the types are in order to react. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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