org.apache.sandesha2.wsrm
Class SequenceAcknowledgement
java.lang.Object
org.apache.sandesha2.wsrm.SequenceAcknowledgement
- All Implemented Interfaces:
- RMHeaderPart
public class SequenceAcknowledgement
- extends java.lang.Object
- implements RMHeaderPart
Adds the SequenceAcknowledgement header block.
Either RM10 or RM11 namespace supported
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SequenceAcknowledgement
public SequenceAcknowledgement(java.lang.String namespaceValue,
boolean _piggybacked)
getNamespaceValue
public java.lang.String getNamespaceValue()
fromHeaderBlock
public java.lang.Object fromHeaderBlock(org.apache.axiom.soap.SOAPHeaderBlock sequenceAckElement)
throws org.apache.axiom.om.OMException,
SandeshaException
- Specified by:
fromHeaderBlock
in interface RMHeaderPart
- Throws:
org.apache.axiom.om.OMException
SandeshaException
setIdentifier
public void setIdentifier(Identifier identifier)
setAckRanges
public void setAckRanges(java.util.ArrayList<Range> acknowledgementRagngesList)
addNack
public java.lang.Long addNack(java.lang.Long nack)
addAcknowledgementRanges
public Range addAcknowledgementRanges(Range ackRange)
getIdentifier
public Identifier getIdentifier()
getAcknowledgementRanges
public java.util.List<Range> getAcknowledgementRanges()
getNackList
public java.util.List<java.lang.Long> getNackList()
getAckFinal
public boolean getAckFinal()
setAckFinal
public void setAckFinal(boolean ackFinal)
getAckNone
public boolean getAckNone()
setAckNone
public void setAckNone(boolean ackNone)
getOriginalSequenceAckElement
public org.apache.axiom.om.OMElement getOriginalSequenceAckElement()
toHeader
public void toHeader(org.apache.axiom.soap.SOAPHeader header)
throws SandeshaException
- Specified by:
toHeader
in interface RMHeaderPart
- Throws:
SandeshaException
Copyright © The Apache Software Foundation. All Rights Reserved.