protected SIPDialog getDialogFromDistributedCache ( String dialogId ) { if ( getStackLogger ( ) . isLoggingEnabled ( StackLogger . TRACE_DEBUG ) ) { getStackLogger ( ) . logDebug ( "sipStack " + this + " checking if the dialog " + dialogId + " is present in the distributed cache" ) ; } // fetch the corresponding dialog from the cache instance SIPDialog sipDialog = null ; try { sipDialog = sipCache . getDialog ( dialogId ) ; } catch ( SipCacheException e ) { getStackLogger ( ) . logError ( "sipStack " + this + " problem getting dialog " + dialogId + " from the distributed cache" , e ) ; } if ( sipDialog != null ) { if ( getStackLogger ( ) . isLoggingEnabled ( StackLogger . TRACE_DEBUG ) ) { getStackLogger ( ) . logDebug ( "sipStack " + this + " dialog " + dialogId + " was present in the distributed cache, initializing it after the load" ) ; } ( ( HASipDialog ) sipDialog ) . initAfterLoad ( this ) ; } return sipDialog ; }
Retrieve the dialog from the distributed cache