Comment #6 on issue 204 by [email protected]: Some updates for
messageflow in TCAP/MAP/CAP layers
http://code.google.com/p/jss7/issues/detail?id=204
**** TCAP's update: ****
- boolean Reject.isLocalOriginated(); - added:
true: local originated Reject (rejecting a bad incoming primitive by a
local side)
false: remote originated Reject (rejecting a bad outgoing primitive by a
peer)
- void Dialog.processInvokeWithoutAnswer(Long invokeId); - added:
If a TCAP user will not answer to an incoming Invoke
with Response, Error or Reject components
it should invoke this method to remove the incoming Invoke from a pending
incoming Invokes list
So the new point is:
When receiving TCAP/MAP/CAP Invoke indication from a peer a TCAP/MAP/CAP
user should invoke "Dialog.processInvokeWithoutAnswer(Long invokeId)" if
neither result nor error message will be sent.
So "processInvokeWithoutAnswer()" need not be invoked for TCAP operations
class 1 (when either result or error respose is needed) - for most MAP
operations. But in CAP many operations have classes 2, 3 or 4
and "processInvokeWithoutAnswer()" is often needed.
All incoming invocations are registered by TCAP skack as an Invoketion that
is currently processed by a TCAP user. The Invocation will be removed from
the under processing invocations list when the TCAP user sends a
ReturnResultLast or Error message or
invokes "processInvokeWithoutAnswer()". If a TCAP stack receives a new
Invoke with an invokeId that is contained in a "the under processing
invocations list" a Reject with InvokeProblemType.DuplicateInvokeID will be
issued.
**** MAP's update: ****
- void MAPDialog.processInvokeWithoutAnswer(Long invokeId); - added
- MAPServiceListener.onRejectComponent() - added parameter: "boolean
isLocalOriginated"
- MAPProviderError - removed
- MAPServiceListener.onProviderErrorComponent(MAPDialog mapDialog, Long
invokeId, MAPProviderError providerError) - removed. Instead of this
MAPServiceListener.onRejectComponent() with isLocalOriginated==true is
issued
- MAPDialogListener.onDialogReject() - parameter "MAPProviderError
providerError" removed
**** CAP's update: ****
- void CAPDialog.processInvokeWithoutAnswer(Long invokeId); - added
- MAPServiceListener.onRejectComponent() - added parameter: "boolean
isLocalOriginated"
- CAPComponentErrorReason - removed
- CAPServiceListener.onProviderErrorComponent(CAPDialog mapDialog, Long
invokeId, CAPComponentErrorReason providerError); - removed. Instead of
this CAPServiceListener.onRejectComponent() with isLocalOriginated==true is
issued
- CAPNoticeProblemDiagnostic - some options removed
- CAPGeneralAbortReason - some options removed