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, Destination d, ProtocolVariation pv)
           
DestinationSequence(Identifier i, EndpointReferenceType a, long lmn, SequenceAcknowledgement ac, ProtocolVariation pv)
           
 
Method Summary
 void acknowledge(Message message)
           
 SequenceAcknowledgement getAcknowledgment()
           
 EndpointReferenceType getAcksTo()
           
 String getEndpointIdentifier()
           
 long getLastMessageNumber()
           
 boolean sendAcknowledgement()
           
 
Methods inherited from class org.apache.cxf.ws.rm.AbstractSequence
equals, getIdentifier, getProtocol, 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,
                           ProtocolVariation pv)

DestinationSequence

public DestinationSequence(Identifier i,
                           EndpointReferenceType a,
                           long lmn,
                           SequenceAcknowledgement ac,
                           ProtocolVariation pv)
Method Detail

getAcksTo

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

getLastMessageNumber

public long getLastMessageNumber()
Returns:
the message number of the last message or 0 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