cgl.narada.wsinfra.wsrm.storage
Interface WsrmStorageWidget

All Known Implementing Classes:
WsrmStorageWidgetImpl

public interface WsrmStorageWidget

The WSRM storage widget encapsulates the WSRM message that was either sent or received. The storage widget contains other information which is useful for querying purposes. Finally, the widget also keeps track of whether a message was acknowledged or if an acknowledgement was sent for the message in question.


Method Summary
 boolean getAcknowledgementInfo()
          Retrieve the acknowledgement info
 long getAckTimestampInfo()
          Retrieve the timestamp associated with this storage widget.
 byte[] getBytes()
          Gets a serialized representation of the message
 EnvelopeDocument getEnvelope()
          Get the original Envelope associated with the message
 long getMessageNumber()
          Gets the message number associated with the message
 String getSequenceIdentifier()
          Get the sequence identifier associated with the messsage
 void resetAckTimestampInfo(long interval)
          Reset the ackInterval to the value specified in specified in the method parameter.
 

Method Detail

getAcknowledgementInfo

boolean getAcknowledgementInfo()
Retrieve the acknowledgement info


getAckTimestampInfo

long getAckTimestampInfo()
Retrieve the timestamp associated with this storage widget. If the acknowledgement info associated with storage widget is FALSE, this timestamp indicates the TICK at which the wsrmMessage should be Acknowledged/Retransmitted. The TICK takes the following vales at the following roles. (a) At SOURCE -- CurrentTime + RetransmissionInterval (b) AT DESTINATION -- CurrentTime + AcknowledgementInterval


resetAckTimestampInfo

void resetAckTimestampInfo(long interval)
Reset the ackInterval to the value specified in specified in the method parameter. This is used AFTER a retransmission


getSequenceIdentifier

String getSequenceIdentifier()
Get the sequence identifier associated with the messsage


getMessageNumber

long getMessageNumber()
Gets the message number associated with the message


getEnvelope

EnvelopeDocument getEnvelope()
Get the original Envelope associated with the message


getBytes

byte[] getBytes()
Gets a serialized representation of the message



For comments and suggestions please send e-mail to The NaradaBrokering Project
aradaBrokering Project
HTML>