Package 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
-
-
Field Summary
-
Fields inherited from class org.apache.cxf.ws.rm.AbstractSequence
acknowledgement, id
-
-
Constructor Summary
Constructors Constructor Description DestinationSequence(Identifier i, org.apache.cxf.ws.addressing.EndpointReferenceType a, long lmn, boolean t, SequenceAcknowledgement ac, ProtocolVariation pv)
DestinationSequence(Identifier i, org.apache.cxf.ws.addressing.EndpointReferenceType a, long lmn, SequenceAcknowledgement ac, ProtocolVariation pv)
DestinationSequence(Identifier i, org.apache.cxf.ws.addressing.EndpointReferenceType a, Destination d, ProtocolVariation pv)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
acknowledge(org.apache.cxf.message.Message message)
SequenceAcknowledgement
getAcknowledgment()
org.apache.cxf.ws.addressing.EndpointReferenceType
getAcksTo()
String
getEndpointIdentifier()
long
getLastMessageNumber()
boolean
isTerminated()
boolean
sendAcknowledgement()
-
Methods inherited from class org.apache.cxf.ws.rm.AbstractSequence
equals, getIdentifier, getProtocol, hashCode, identifierEquals, isAcknowledged, toString
-
-
-
-
Constructor Detail
-
DestinationSequence
public DestinationSequence(Identifier i, org.apache.cxf.ws.addressing.EndpointReferenceType a, Destination d, ProtocolVariation pv)
-
DestinationSequence
public DestinationSequence(Identifier i, org.apache.cxf.ws.addressing.EndpointReferenceType a, long lmn, SequenceAcknowledgement ac, ProtocolVariation pv)
-
DestinationSequence
public DestinationSequence(Identifier i, org.apache.cxf.ws.addressing.EndpointReferenceType a, long lmn, boolean t, SequenceAcknowledgement ac, ProtocolVariation pv)
-
-
Method Detail
-
getAcksTo
public org.apache.cxf.ws.addressing.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(org.apache.cxf.message.Message message) throws SequenceFault
- Throws:
SequenceFault
-
sendAcknowledgement
public boolean sendAcknowledgement()
-
isTerminated
public boolean isTerminated()
-
-