org.apache.cxf.ws.rm
Class DestinationSequence
java.lang.Object
org.apache.cxf.ws.rm.AbstractSequence
org.apache.cxf.ws.rm.DestinationSequence
public class DestinationSequence
- extends AbstractSequence
DestinationSequence
public DestinationSequence(Identifier i,
EndpointReferenceType a,
Destination d)
DestinationSequence
public DestinationSequence(Identifier i,
EndpointReferenceType a,
long lmn,
SequenceAcknowledgement ac)
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