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

java.lang.Object
  extended by com.sun.xml.ws.rx.rm.protocol.AcknowledgementData

public final class AcknowledgementData
extends Object

Author:
Marek Potociar

Nested Class Summary
static class AcknowledgementData.Builder
           
 
Method Summary
 boolean containsSequenceAcknowledgementData()
          Returns true if the instance contains any acknowledgement data that could be sent to an RM source.
 List<Sequence.AckRange> getAcknowledgedRanges()
          Returns acknowledged ranges for the sequence identified by acknowledged sequence identifier
 String getAcknowledgedSequenceId()
          Returns idnetifier of a sequence to which acknowledged message number ranges (if any) belong
 String getAckReqestedSequenceId()
          Returns sequence identifier for which acknowledgement is requested
static AcknowledgementData.Builder getBuilder()
           
static AcknowledgementData.Builder getBuilder(AcknowledgementData data)
           
 boolean isFinalAcknowledgement()
          Returns value of the final flag which determines whether this is a final acknowledgement or not
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBuilder

public static AcknowledgementData.Builder getBuilder()

getBuilder

public static AcknowledgementData.Builder getBuilder(AcknowledgementData data)

getAcknowledgedSequenceId

public String getAcknowledgedSequenceId()
Returns idnetifier of a sequence to which acknowledged message number ranges (if any) belong

Returns:
idnetifier of a sequence to which acknowledged message number ranges (if any) belong

getAcknowledgedRanges

@NotNull
public List<Sequence.AckRange> getAcknowledgedRanges()
Returns acknowledged ranges for the sequence identified by acknowledged sequence identifier

Returns:
acknowledged ranges for the sequence identified by acknowledged sequence identifier

getAckReqestedSequenceId

public String getAckReqestedSequenceId()
Returns sequence identifier for which acknowledgement is requested

Returns:
value of sequence identifier for which acknowledgement is requested

isFinalAcknowledgement

public boolean isFinalAcknowledgement()
Returns value of the final flag which determines whether this is a final acknowledgement or not

Returns:
value of the final flag which determines whether this is a final acknowledgement or not

containsSequenceAcknowledgementData

public boolean containsSequenceAcknowledgementData()
Returns true if the instance contains any acknowledgement data that could be sent to an RM source. Otherwise returns false.

Returns:
true if the instance contains any acknowledgement data that could be sent to an RM source. Otherwise returns false.


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