Package com.sun.xml.ws.rx.rm.runtime
Interface ApplicationMessage
-
- All Superinterfaces:
RxMessage
- All Known Implementing Classes:
ApplicationMessageBase
,JaxwsApplicationMessage
public interface ApplicationMessage extends RxMessage
A protocol independent abstraction of an application message that is used as part of RM processing.- Author:
- Marek Potociar
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.sun.xml.ws.rx.message.RxMessage
RxMessage.State
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AcknowledgementData
getAcknowledgementData()
Returns acknowledgement data attached to the messagelong
getMessageNumber()
Returns message number within a given sequence of this messageint
getNextResendCount()
Retrieves number of the next resend attemptString
getSequenceId()
Returns identifier of a sequence this message is associated withvoid
setAcknowledgementData(AcknowledgementData data)
Sets acknowledgement data attached to the messagevoid
setSequenceData(String sequenceId, long messageNumber)
Sets reliable messaging sequence data for this message.-
Methods inherited from interface com.sun.xml.ws.rx.message.RxMessage
getCorrelationId, getState, toBytes
-
-
-
-
Method Detail
-
getSequenceId
String getSequenceId()
Returns identifier of a sequence this message is associated with- Returns:
- associated sequence identifier
-
getMessageNumber
long getMessageNumber()
Returns message number within a given sequence of this message- Returns:
- sequence message number of this message
-
setSequenceData
void setSequenceData(String sequenceId, long messageNumber)
Sets reliable messaging sequence data for this message.- Parameters:
sequenceId
- identifier of a sequence this message is associated withmessageNumber
- message number within a given RM sequence
-
getAcknowledgementData
AcknowledgementData getAcknowledgementData()
Returns acknowledgement data attached to the message- Returns:
- acknowledgement data attached to the message
-
setAcknowledgementData
void setAcknowledgementData(AcknowledgementData data)
Sets acknowledgement data attached to the message- Parameters:
data
- acknowledgement data attached to the message
-
getNextResendCount
int getNextResendCount()
Retrieves number of the next resend attempt- Returns:
- number of the next resend attempt
-
-