Class AcknowledgementData.Builder

    • Method Detail

      • acknowledgements

        public AcknowledgementData.Builder acknowledgements​(@NotNull
                                                            String ackedSequenceId,
                                                            List<Sequence.AckRange> acknowledgedMessageIds,
                                                            boolean isFinal)
        Sets acknowledgements
        Parameters:
        ackedSequenceId - idnetifier of a sequence to which acknowledged message number ranges (if any) belong
        acknowledgedMessageIds - acknowledged ranges for the sequence identified by ackSequenceId
        isFinal - sets the final flag on the acknowledgement data which means that this is a final acknowledgement.
      • ackReqestedSequenceId

        public AcknowledgementData.Builder ackReqestedSequenceId​(@NotNull
                                                                 String ackRequestedSequenceId)
        Sets value of AckRequested flag for the sequence associated with this message
        Parameters:
        ackRequestedSequenceId - value of sequence identifier for which acknowledgement is requested