public class ClientSideQCNAgent extends java.lang.Object implements IClientQueryCancellation
| Constructor and Description |
|---|
ClientSideQCNAgent() |
| Modifier and Type | Method and Description |
|---|---|
ISegmentSet |
generateCancellationQuery(java.lang.String strQueryId)
This method will generate segment set for QCN^J01.
|
ISingleCollection<ISegmentSet> |
getCancelledMessages()
This method returns the Collection of Segment Set which are canceled by user.
|
ISingleCollection<java.lang.String> |
getCancelledQueries()
This method will return all collection of query id for which cancellation query is triggered.
|
boolean |
processReceive(ISegmentSet objSegmentSet)
This method keeps track for the Responses received.
|
boolean |
processSend(ISegmentSet objSegmentSet)
This method will process the sending queries by client.
|
void |
setStoreCancelledMessage(boolean bStoreCancelledMessage)
This will set the status whether to store canceled response messages or not.
|
public boolean processSend(ISegmentSet objSegmentSet)
processSend in interface IClientQueryCancellationobjSegmentSet - Object of Segment set send by Client.public ISingleCollection<ISegmentSet> getCancelledMessages()
getCancelledMessages in interface IClientQueryCancellationpublic ISingleCollection<java.lang.String> getCancelledQueries()
getCancelledQueries in interface IClientQueryCancellationpublic boolean processReceive(ISegmentSet objSegmentSet)
processReceive in interface IClientQueryCancellationobjSegmentSet - Object of Segment set received to client.public void setStoreCancelledMessage(boolean bStoreCancelledMessage)
setStoreCancelledMessage in interface IClientQueryCancellationpublic ISegmentSet generateCancellationQuery(java.lang.String strQueryId)
generateCancellationQuery in interface IClientQueryCancellationstrQueryId - Query Id for which to generate Segment Set.