Apache CXF API

org.apache.cxf.ws.rm
Class DestinationSequence

java.lang.Object
  extended by org.apache.cxf.ws.rm.AbstractSequence
      extended by org.apache.cxf.ws.rm.DestinationSequence

public class DestinationSequence
extends AbstractSequence


Field Summary
 
Fields inherited from class org.apache.cxf.ws.rm.AbstractSequence
acknowledgement, id
 
Constructor Summary
DestinationSequence(Identifier i, EndpointReferenceType a, BigInteger lmn, SequenceAcknowledgement ac)
           
DestinationSequence(Identifier i, EndpointReferenceType a, Destination d)
           
 
Method Summary
 void acknowledge(Message message)
           
 SequenceAcknowledgement getAcknowledgment()
           
 EndpointReferenceType getAcksTo()
           
 String getEndpointIdentifier()
           
 BigInteger getLastMessageNumber()
           
 boolean sendAcknowledgement()
           
 
Methods inherited from class org.apache.cxf.ws.rm.AbstractSequence
equals, getIdentifier, hashCode, identifierEquals, isAcknowledged, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DestinationSequence

public DestinationSequence(Identifier i,
                           EndpointReferenceType a,
                           Destination d)

DestinationSequence

public DestinationSequence(Identifier i,
                           EndpointReferenceType a,
                           BigInteger lmn,
                           SequenceAcknowledgement ac)
Method Detail

getAcksTo

public EndpointReferenceType getAcksTo()
Returns:
the acksTo address for the sequence

getLastMessageNumber

public BigInteger getLastMessageNumber()
Returns:
the message number of the last message or null if the last message had not been received.

getAcknowledgment

public SequenceAcknowledgement getAcknowledgment()
Returns:
the sequence acknowledgement presenting the sequences thus far received by a destination

getEndpointIdentifier

public String getEndpointIdentifier()
Returns:
the identifier of the rm destination

acknowledge

public void acknowledge(Message message)
                 throws SequenceFault
Throws:
SequenceFault

sendAcknowledgement

public boolean sendAcknowledgement()

Apache CXF API

Apache CXF