Package com.sun.xml.ws.rx.rm.runtime
Class ApplicationMessageBase
java.lang.Object
com.sun.xml.ws.rx.message.RxMessageBase
com.sun.xml.ws.rx.rm.runtime.ApplicationMessageBase
- All Implemented Interfaces:
RxMessage,ApplicationMessage
- Direct Known Subclasses:
JaxwsApplicationMessage
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sun.xml.ws.rx.message.RxMessage
RxMessage.State -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedApplicationMessageBase(int initialResendCounterValue, String correlationId, String sequenceId, long messageNumber, AcknowledgementData acknowledgementData) protectedApplicationMessageBase(String correlationId) protectedApplicationMessageBase(String correlationId, String sequenceId, long messageNumber, AcknowledgementData acknowledgementData) -
Method Summary
Modifier and TypeMethodDescriptionReturns acknowledgement data attached to the messagelongReturns message number within a given sequence of this messageintRetrieves number of the next resend attemptReturns identifier of a sequence this message is associated withvoidSets acknowledgement data attached to the messagevoidsetSequenceData(String sequenceId, long messageNumber) Sets reliable messaging sequence data for this message.Methods inherited from class com.sun.xml.ws.rx.message.RxMessageBase
getCorrelationId, toBytesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sun.xml.ws.rx.message.RxMessage
getCorrelationId, getState, toBytes
-
Constructor Details
-
ApplicationMessageBase
-
ApplicationMessageBase
protected ApplicationMessageBase(@NotNull String correlationId, String sequenceId, long messageNumber, AcknowledgementData acknowledgementData) -
ApplicationMessageBase
protected ApplicationMessageBase(int initialResendCounterValue, @NotNull String correlationId, String sequenceId, long messageNumber, AcknowledgementData acknowledgementData)
-
-
Method Details
-
getAcknowledgementData
Description copied from interface:ApplicationMessageReturns acknowledgement data attached to the message- Specified by:
getAcknowledgementDatain interfaceApplicationMessage- Returns:
- acknowledgement data attached to the message
-
getMessageNumber
public long getMessageNumber()Description copied from interface:ApplicationMessageReturns message number within a given sequence of this message- Specified by:
getMessageNumberin interfaceApplicationMessage- Returns:
- sequence message number of this message
-
getSequenceId
Description copied from interface:ApplicationMessageReturns identifier of a sequence this message is associated with- Specified by:
getSequenceIdin interfaceApplicationMessage- Returns:
- associated sequence identifier
-
setAcknowledgementData
Description copied from interface:ApplicationMessageSets acknowledgement data attached to the message- Specified by:
setAcknowledgementDatain interfaceApplicationMessage- Parameters:
data- acknowledgement data attached to the message
-
setSequenceData
Description copied from interface:ApplicationMessageSets reliable messaging sequence data for this message.- Specified by:
setSequenceDatain interfaceApplicationMessage- Parameters:
sequenceId- identifier of a sequence this message is associated withmessageNumber- message number within a given RM sequence
-
getNextResendCount
public int getNextResendCount()Description copied from interface:ApplicationMessageRetrieves number of the next resend attempt- Specified by:
getNextResendCountin interfaceApplicationMessage- Returns:
- number of the next resend attempt
-