Package org.apache.cxf.ws.rm
Class DestinationSequence
java.lang.Object
org.apache.cxf.ws.rm.AbstractSequence
org.apache.cxf.ws.rm.DestinationSequence
-
Field Summary
Fields inherited from class org.apache.cxf.ws.rm.AbstractSequence
acknowledgement, id -
Constructor Summary
ConstructorsConstructorDescriptionDestinationSequence(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
Modifier and TypeMethodDescriptionvoidacknowledge(org.apache.cxf.message.Message message) org.apache.cxf.ws.addressing.EndpointReferenceTypelongbooleanbooleanMethods inherited from class org.apache.cxf.ws.rm.AbstractSequence
equals, getIdentifier, getProtocol, hashCode, identifierEquals, isAcknowledged, toString
-
Constructor Details
-
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 Details
-
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
- Returns:
- the sequence acknowledgement presenting the sequences thus far received by a destination
-
getEndpointIdentifier
- Returns:
- the identifier of the rm destination
-
acknowledge
- Throws:
SequenceFault
-
sendAcknowledgement
public boolean sendAcknowledgement() -
isTerminated
public boolean isTerminated()
-