convergedcallengine/cce/src/ccceplugin.cpp
branchRCL_3
changeset 20 987c9837762f
parent 19 7d48bed6ce0c
equal deleted inserted replaced
19:7d48bed6ce0c 20:987c9837762f
   248 // From class MCCPCSObserver
   248 // From class MCCPCSObserver
   249 // CCCEPlugin::DataPortName()
   249 // CCCEPlugin::DataPortName()
   250 // ---------------------------------------------------------------------------
   250 // ---------------------------------------------------------------------------
   251 //
   251 //
   252 void CCCEPlugin::DataPortName( TName& aPortName )
   252 void CCCEPlugin::DataPortName( TName& aPortName )
   253     {
   253 	{
   254     CCELOGSTRING( "CCCEPlugin::DataPortName" );
   254 	CCELOGSTRING( "CCCEPlugin::DataPortName" );
   255     iObserver.DataPortName( aPortName );
   255 	iObserver.DataPortName( aPortName );
   256     }
   256 	}
   257 
   257 
   258 // ---------------------------------------------------------------------------
   258 // ---------------------------------------------------------------------------
   259 // From class MCCPCSObserver
   259 // From class MCCPCSObserver
   260 // ---------------------------------------------------------------------------
   260 // ---------------------------------------------------------------------------
   261 //
   261 //
   557         CCELOGSTRING( "CCCEPlugin::BarringEventOccurred: Event ignored no observer is set!" );
   557         CCELOGSTRING( "CCCEPlugin::BarringEventOccurred: Event ignored no observer is set!" );
   558         }
   558         }
   559 
   559 
   560     CCELOGSTRING( "CCCEPlugin::BarringEventOccurred:OUT" );
   560     CCELOGSTRING( "CCCEPlugin::BarringEventOccurred:OUT" );
   561     }
   561     }
   562                       
   562 					  
   563 
   563 
   564 // ---------------------------------------------------------------------------
   564 // ---------------------------------------------------------------------------
   565 // CCCEPlugin::CLIEventOccurred
   565 // CCCEPlugin::CLIEventOccurred
   566 // ---------------------------------------------------------------------------
   566 // ---------------------------------------------------------------------------
   567 //
   567 //
   569     {
   569     {
   570     CCELOGSTRING2("CCCEPlugin::CLIEventOccurred():IN event=%d",aCallLineEvent );
   570     CCELOGSTRING2("CCCEPlugin::CLIEventOccurred():IN event=%d",aCallLineEvent );
   571 
   571 
   572     if( iCallContainer.SsObserver() )
   572     if( iCallContainer.SsObserver() )
   573         {
   573         {
   574         // one to one mapping at the moment can be casted directly, change if mapping gets out of sync
   574     	// one to one mapping at the moment can be casted directly, change if mapping gets out of sync
   575         iCallContainer.SsObserver()->CLIEventOccurred(
   575         iCallContainer.SsObserver()->CLIEventOccurred(
   576                     (MCCESsObserver::TCCESsCLIEvent)aCallLineEvent );
   576         			(MCCESsObserver::TCCESsCLIEvent)aCallLineEvent );
   577         }
   577         }
   578     else
   578 	else
   579         {
   579 		{
   580         CCELOGSTRING( "CCCEPlugin::CLIEventOccurred: Event ignored no observer is set!" );
   580     	CCELOGSTRING( "CCCEPlugin::CLIEventOccurred: Event ignored no observer is set!" );
   581         }
   581 		}
   582 
   582 
   583     CCELOGSTRING( "CCCEPlugin::CLIEventOccurred:OUT" );
   583     CCELOGSTRING( "CCCEPlugin::CLIEventOccurred:OUT" );
   584     }
   584     }
   585                               
   585 							  
   586 
   586 
   587 // ---------------------------------------------------------------------------
   587 // ---------------------------------------------------------------------------
   588 // CCCEPlugin::BarringEventOccurred
   588 // CCCEPlugin::BarringEventOccurred
   589 // ---------------------------------------------------------------------------
   589 // ---------------------------------------------------------------------------
   590 //
   590 //
   594     {
   594     {
   595     CCELOGSTRING2("CCCEPlugin::CallForwardEventOccurred():IN event=%d",aCallForwardEvent );
   595     CCELOGSTRING2("CCCEPlugin::CallForwardEventOccurred():IN event=%d",aCallForwardEvent );
   596 
   596 
   597     if( iCallContainer.SsObserver() )
   597     if( iCallContainer.SsObserver() )
   598         {
   598         {
   599         // one to one mapping at the moment can be casted directly, change if mapping gets out of sync
   599     	// one to one mapping at the moment can be casted directly, change if mapping gets out of sync
   600         iCallContainer.SsObserver()->CallForwardEventOccurred(
   600         iCallContainer.SsObserver()->CallForwardEventOccurred(
   601             (MCCESsObserver::TCCESsCallForwardEvent)aCallForwardEvent,
   601 			(MCCESsObserver::TCCESsCallForwardEvent)aCallForwardEvent,
   602             aRemoteAddress );
   602 			aRemoteAddress );
   603         }
   603         }
   604     else
   604 	else
   605         {
   605 		{
   606         CCELOGSTRING( "CCCEPlugin::CallForwardEventOccurred: Event ignored no observer is set!" );
   606     	CCELOGSTRING( "CCCEPlugin::CallForwardEventOccurred: Event ignored no observer is set!" );
   607         }
   607 		}
   608 
   608 
   609     CCELOGSTRING( "CCCEPlugin::CallForwardEventOccurred:OUT" );
   609     CCELOGSTRING( "CCCEPlugin::CallForwardEventOccurred:OUT" );
   610     
   610     
   611     }
   611     }
   612 
   612 
   619     {
   619     {
   620     CCELOGSTRING2("CCCEPlugin::CallCugEventOccurred():IN event=%d",aCugEvent );
   620     CCELOGSTRING2("CCCEPlugin::CallCugEventOccurred():IN event=%d",aCugEvent );
   621 
   621 
   622     if( iCallContainer.SsObserver() )
   622     if( iCallContainer.SsObserver() )
   623         {
   623         {
   624         // one to one mapping at the moment can be casted directly, change if mapping gets out of sync
   624     	// one to one mapping at the moment can be casted directly, change if mapping gets out of sync
   625         iCallContainer.SsObserver()->CallCugEventOccurred(
   625         iCallContainer.SsObserver()->CallCugEventOccurred(
   626             (MCCESsObserver::TCCESsCugEvent)aCugEvent );
   626             (MCCESsObserver::TCCESsCugEvent)aCugEvent );
   627         }
   627         }
   628     else
   628 	else
   629         {
   629 		{
   630         CCELOGSTRING( "CCCEPlugin::CallCugEventOccurred: Event ignored no observer is set!" );
   630     	CCELOGSTRING( "CCCEPlugin::CallCugEventOccurred: Event ignored no observer is set!" );
   631         }
   631 		}
   632 
   632 
   633     CCELOGSTRING( "CCCEPlugin::CallCugEventOccurred:OUT" );
   633     CCELOGSTRING( "CCCEPlugin::CallCugEventOccurred:OUT" );
   634     }
   634     }
   635     
   635     
   636 // ---------------------------------------------------------------------------
   636 // ---------------------------------------------------------------------------
   643 
   643 
   644     if( iCallContainer.SsObserver() )
   644     if( iCallContainer.SsObserver() )
   645         {
   645         {
   646         iCallContainer.SsObserver()->NotifyCurrentActiveALSLine(aLine);
   646         iCallContainer.SsObserver()->NotifyCurrentActiveALSLine(aLine);
   647         }
   647         }
   648     else
   648 	else
   649         {
   649 		{
   650         CCELOGSTRING( "CCCEPlugin::NotifyCurrentActiveALSLine: Event ignored no observer is set!" );
   650     	CCELOGSTRING( "CCCEPlugin::NotifyCurrentActiveALSLine: Event ignored no observer is set!" );
   651         }
   651 		}
   652 
   652 
   653     CCELOGSTRING( "CCCEPlugin::NotifyCurrentActiveALSLine():OUT" );
   653     CCELOGSTRING( "CCCEPlugin::NotifyCurrentActiveALSLine():OUT" );
   654     }
   654     }
   655  
   655  
   656 // ---------------------------------------------------------------------------
   656 // ---------------------------------------------------------------------------