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
 AcknowledgementData getAcknowledgementData()
          Returns acknowledgement data attached to the message
 long getMessageNumber()
          Returns message number within a given sequence of this message
 int getNextResendCount()
          Retrieves number of the next resend attempt
 String getSequenceId()
          Returns identifier of a sequence this message is associated with
 void setAcknowledgementData(AcknowledgementData data)
          Sets acknowledgement data attached to the message
 void 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 with
messageNumber - 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


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.