linklayercontrol/networkinterfacemgr/agentprcore/src/tunnelagentcprstates.cpp
changeset 51 78fceed50f62
parent 0 af10295192d8
equal deleted inserted replaced
42:88121cf79045 51:78fceed50f62
    99 	
    99 	
   100 	TNodeId realIapNodeId = provider->Id();
   100 	TNodeId realIapNodeId = provider->Id();
   101 
   101 
   102 	TNodeId thisNodeId = iContext.Node().NodeId();
   102 	TNodeId thisNodeId = iContext.Node().NodeId();
   103 	
   103 	
   104 	RNodeInterface* sp = iContext.Node().AddClientL(realIapNodeId, TClientType(TCFClientType::EServProvider));
   104 	//SP are peers added with TClientType ((TCFClientType::EServProvider, CFClientType::EActive))
       
   105 	RNodeInterface* sp = iContext.Node().AddClientL(realIapNodeId, TClientType(TCFClientType::EServProvider, TCFClientType::EActive));
       
   106 
   105 	__ASSERT_DEBUG(sp != NULL, User::Panic(KTunnelAgentCPRPanic, ETunnelAgentCprNoServiceProvider));
   107 	__ASSERT_DEBUG(sp != NULL, User::Panic(KTunnelAgentCPRPanic, ETunnelAgentCprNoServiceProvider));
   106  	iContext.iNodeActivity->PostRequestTo(
   108  	iContext.iNodeActivity->PostRequestTo(
   107  			realIapNodeId, 
   109  			realIapNodeId, 
   108  			TCFServiceProvider::TJoinRequest(iContext.NodeId(), TClientType(TCFClientType::ECtrl)).CRef()
   110  			TCFServiceProvider::TJoinRequest(iContext.NodeId(), TClientType(TCFClientType::ECtrl)).CRef()
   109  			);
   111  			);