Github user ganeshmurthy commented on a diff in the pull request:

    https://github.com/apache/qpid-dispatch/pull/177#discussion_r129333458
  
    --- Diff: include/qpid/dispatch/message.h ---
    @@ -296,6 +296,61 @@ qd_parsed_field_t *qd_message_get_trace      
(qd_message_t *msg);
      */
     int                qd_message_get_phase_val  (qd_message_t *msg);
     
    +/*
    + * Should the message be discarded.
    + * A message can be discarded if the disposition is released or rejected.
    + *
    + * @param msg A pointer to the message.
    + **/
    +bool qd_message_is_discard(qd_message_t *msg);
    +
    +/**
    + *Set the discard field on the message to to the passed in boolean value.
    + *
    + * @param msg A pointer to the message.
    + * @param discard - the boolean value of discard.
    + */
    +void qd_message_set_discard(qd_message_t *msg, bool discard);
    +
    +/**
    + * Has the message been completely received?
    + * Return true if the message is fully received
    + * Returns false if only the partial message has been received, if there 
is more of the message to be received.
    + *
    + * @param msg A pointer to the message.
    + */
    +bool qd_message_receive_complete(qd_message_t *msg);
    +
    +/**
    + * Returns true if the message has been completely received AND the 
message has been completely sent.
    + */
    +bool qd_message_send_complete(qd_message_t *msg);
    +
    +/**
    + * Returns true if the delivery tag has already been sent.
    + */
    +bool qd_message_tag_sent(qd_message_t *msg);
    +
    +
    +/**
    + * Returns true if the delivery tag has already been sent.
    --- End diff --
    
    Fixed the wrong comment produced due to cut and paste


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to