cgl.narada.wsinfra.wsr
Interface WsrAckOperations

All Known Implementing Classes:
WsrAckOperationsImpl

public interface WsrAckOperations

A utility class to deal with creation, Retrieval and processing of acknowledgements and Faults


Method Summary
 Hashtable createRanges(Hashtable seqNumsAndFaults)
          create ranges from Hashtable (sequence Number and fault or Ack) pair
 Hashtable createRanges(long[] seqNums)
          create ranges from array of sequence Numbers
 String[] getGroupIds(ResponseDocument responseDocument)
          Retrieve all groupIds from Response Document for which we receive acknowledgements and faults
 Vector getNonSequenceReplyAcknowledgement(ResponseDocument responseDocument)
          Retrieves Vector of groupIds for groups with single message those are already acknowledged from response document (Retrieves Acknowledgements for Non Sequence Reply from response document
 Hashtable getNonSequenceReplyFault(ResponseDocument responseDocument)
          Retrieves Hashtable (groupId and fault pair) for groups with single message and have faults other than Message Processing Failure Fault from response document.
 Vector getNonSequenceReplyMessageProcessingFailureFault(ResponseDocument responseDocument)
          Retrieves Vector of groupIds for groups with single message and have Message Processing Failure Fault from response document (Retrieves Message Processing Failure Faults for Non Sequence Reply from response document
 Hashtable getSequenceRepliesAcknowledgement(ResponseDocument responseDocument)
          Retrieves Hashtable (groupId and associated acknowledged sequence numbers in vector) for groups with multiple messages from response document.
 Hashtable getSequenceReplyFault(ResponseDocument responseDocument)
          Retrieves Hashtable (groupId and Hashtable(sequenceNumber and fault name)) for groups with multiple messages and have faults other than Message Processing Failure Fault from response document.The hashtable contains those groupIds which are not for retrasmission.
 Hashtable getSequenceReplyMessageProcessingFailureFault(ResponseDocument responseDocument)
          Retrieves Hashtable(groupId and vector of sequence numbers) for groups with multiple messages and have Message Processing Failure Fault from response document (Retrieves Message Processing Failure Faults for Sequence Reply from response document
 boolean isMessageProcessingFailureFault(QName fault)
          Checks the fault is Message Processing failure
 

Method Detail

getNonSequenceReplyAcknowledgement

Vector getNonSequenceReplyAcknowledgement(ResponseDocument responseDocument)
Retrieves Vector of groupIds for groups with single message those are already acknowledged from response document (Retrieves Acknowledgements for Non Sequence Reply from response document


getNonSequenceReplyMessageProcessingFailureFault

Vector getNonSequenceReplyMessageProcessingFailureFault(ResponseDocument responseDocument)
Retrieves Vector of groupIds for groups with single message and have Message Processing Failure Fault from response document (Retrieves Message Processing Failure Faults for Non Sequence Reply from response document


getNonSequenceReplyFault

Hashtable getNonSequenceReplyFault(ResponseDocument responseDocument)
Retrieves Hashtable (groupId and fault pair) for groups with single message and have faults other than Message Processing Failure Fault from response document. The hashtable contains those groupIds which are not for retrasmission. In this case send fault to application along with details of failure


getSequenceRepliesAcknowledgement

Hashtable getSequenceRepliesAcknowledgement(ResponseDocument responseDocument)
Retrieves Hashtable (groupId and associated acknowledged sequence numbers in vector) for groups with multiple messages from response document. Retrieves Sequence Replies acknowledgements


getSequenceReplyMessageProcessingFailureFault

Hashtable getSequenceReplyMessageProcessingFailureFault(ResponseDocument responseDocument)
Retrieves Hashtable(groupId and vector of sequence numbers) for groups with multiple messages and have Message Processing Failure Fault from response document (Retrieves Message Processing Failure Faults for Sequence Reply from response document


getSequenceReplyFault

Hashtable getSequenceReplyFault(ResponseDocument responseDocument)
Retrieves Hashtable (groupId and Hashtable(sequenceNumber and fault name)) for groups with multiple messages and have faults other than Message Processing Failure Fault from response document.The hashtable contains those groupIds which are not for retrasmission. In this case send fault to application along with details of failure


isMessageProcessingFailureFault

boolean isMessageProcessingFailureFault(QName fault)
Checks the fault is Message Processing failure


createRanges

Hashtable createRanges(long[] seqNums)
create ranges from array of sequence Numbers


createRanges

Hashtable createRanges(Hashtable seqNumsAndFaults)
create ranges from Hashtable (sequence Number and fault or Ack) pair


getGroupIds

String[] getGroupIds(ResponseDocument responseDocument)
Retrieve all groupIds from Response Document for which we receive acknowledgements and faults



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