|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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 |
public Vector getNonSequenceReplyAcknowledgement(ResponseDocument responseDocument)
public Vector getNonSequenceReplyMessageProcessingFailureFault(ResponseDocument responseDocument)
public Hashtable getNonSequenceReplyFault(ResponseDocument responseDocument)
public Hashtable getSequenceRepliesAcknowledgement(ResponseDocument responseDocument)
public Hashtable getSequenceReplyMessageProcessingFailureFault(ResponseDocument responseDocument)
public Hashtable getSequenceReplyFault(ResponseDocument responseDocument)
public boolean isMessageProcessingFailureFault(QName fault)
public Hashtable createRanges(long[] seqNums)
public Hashtable createRanges(Hashtable seqNumsAndFaults)
public String[] getGroupIds(ResponseDocument responseDocument)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||