public class EtcAriCorrelationHelper
extends java.lang.Object
Constructor and Description |
---|
EtcAriCorrelationHelper(CorrelationProvider provider,
javax.slee.facilities.Tracer tracer) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConvergenceNameForCorrelationID(java.lang.String correlationId)
Get the Convergence Name associated with the SBB entity that sent the ETC that
corresponds to the received ARI.
|
javax.slee.InitialEventSelector |
initialEventSelector(javax.slee.InitialEventSelector ies,
DialogOpenRequestEvent openRequest)
A IES helper method for dialogs with one of an
CCInitialDPRequestEvent |
javax.slee.InitialEventSelector |
initialEventSelectorForARI(javax.slee.InitialEventSelector ies,
DialogOpenRequestEvent openRequest)
A IES helper method for correlating
CCAssistRequestInstructionsRequestEvent |
javax.slee.InitialEventSelector |
initialEventSelectorForIDP(javax.slee.InitialEventSelector ies,
DialogOpenRequestEvent openRequest)
A IES helper method for dialogs with
CCInitialDPRequestEvent |
java.lang.String |
newCorrelationID(CCDialog dialog)
It ask for a new CorrelationId value to be used in a ETC operation that
won't be used in another session until the corresponding ARI will be
received.
|
void |
releaseCorrelationId(java.lang.String correlationID)
It frees the previously reserved correlationId in order it could be used
in another call.
|
public EtcAriCorrelationHelper(CorrelationProvider provider, javax.slee.facilities.Tracer tracer)
public java.lang.String newCorrelationID(CCDialog dialog) throws NoAvailableEntriesException, java.lang.IllegalArgumentException
dialog
- CCDialog
NoAvailableEntries
- all possible CorrelationIds are being used
so no more ETC messages could be managed at this momentjava.lang.IllegalArgumentException
- if dialog is nullNoAvailableEntriesException
public java.lang.String getConvergenceNameForCorrelationID(java.lang.String correlationId) throws NoAvailableEntriesException, CorrelationRequestException
correlationId
- the correlationID received in the ARICorrelationRequestException
NoAvailableEntries
- the requested Correlation Id wasn't used by any registered ETC message.NoAvailableEntriesException
public void releaseCorrelationId(java.lang.String correlationID)
correlationID
- the correlationID received in the ARIpublic javax.slee.InitialEventSelector initialEventSelector(javax.slee.InitialEventSelector ies, DialogOpenRequestEvent openRequest)
CCInitialDPRequestEvent or
CCAssistRequestInstructionsRequestEvent component.
event in the DialogOpenRequestEvent.
ies
- InitialEventSelector
openRequest
- DialogOpenRequestEvent
InitialEventSelector
public javax.slee.InitialEventSelector initialEventSelectorForIDP(javax.slee.InitialEventSelector ies, DialogOpenRequestEvent openRequest)
CCInitialDPRequestEvent
events used to set a custom convergence which is used for correlation with
subsequent CCAssistRequestInstructionsRequestEvent requests on
assisting dialogs.
If there is no CCInitialDPRequestEvent component event, the IES
will not be changed.
ies
- InitialEventSelector
openRequest
- DialogOpenRequestEvent
InitialEventSelector
public javax.slee.InitialEventSelector initialEventSelectorForARI(javax.slee.InitialEventSelector ies, DialogOpenRequestEvent openRequest)
CCAssistRequestInstructionsRequestEvent dialogs with
the service which sent the CCEstablishTemporaryConnectionRequestEvent
If there is no CCAssistRequestInstructionsRequestEvent component event, the IES
will not be changed.
ies
- InitialEventSelector
openRequest
- DialogOpenRequestEvent
InitialEventSelector
Copyright © OpenCloud. All Rights Reserved.