com.sun.xml.ws.rx.rm.protocol
Class AcknowledgementData.Builder

java.lang.Object
  extended by com.sun.xml.ws.rx.rm.protocol.AcknowledgementData.Builder
Enclosing class:
AcknowledgementData

public static final class AcknowledgementData.Builder
extends Object


Method Summary
 AcknowledgementData.Builder acknowledgements(String ackedSequenceId, List<Sequence.AckRange> acknowledgedMessageIds, boolean isFinal)
          Sets acknowledgements
 AcknowledgementData.Builder ackReqestedSequenceId(String ackRequestedSequenceId)
          Sets value of AckRequested flag for the sequence associated with this message
 AcknowledgementData build()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

build

public AcknowledgementData build()


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.