realtimenetprots/sipfw/ProfileAgent/Server/Src/sipalrmigrationcontroller.h
branchRCL_3
changeset 18 f54bfd820e04
parent 0 307788aac0a8
--- a/realtimenetprots/sipfw/ProfileAgent/Server/Src/sipalrmigrationcontroller.h	Thu Jul 15 19:02:22 2010 +0300
+++ b/realtimenetprots/sipfw/ProfileAgent/Server/Src/sipalrmigrationcontroller.h	Thu Aug 19 10:16:25 2010 +0300
@@ -58,7 +58,7 @@
 
 	public:
     	static CSipAlrMigrationController* NewLC(CSipAlrMonitor& aAlrMonitor,
-    											 TUint32 aSnapId);
+                             TSipSNAPConfigurationData aSnapData);
 
     	~CSipAlrMigrationController();
 
@@ -71,6 +71,8 @@
     public: // New functions
 
 		TUint32 SnapId() const;
+		
+		TUint32 BearerId() const;
 
 		/**
         * Check if any profile is using this instance.
@@ -116,11 +118,13 @@
 							  TBool aIapWorks);
 							  
 		void ResetFlags();
+		
+		
 
 	private: // Constructors
 
 	    CSipAlrMigrationController(CSipAlrMonitor& aAlrMonitor,
-	    						   TUint32 aSnapId);
+                                    TSipSNAPConfigurationData aSnapData);
 
     private: // New functions
 
@@ -143,9 +147,6 @@
 
 		RArray<TSipAlrMigrationObserverInfo> iObservers;
 
-		// SNAP id that is monitored. Does not change.
-		const TUint32 iSnapId;
-
 		// The IAP id, that was most recently offered to observers with
 		// MSipAlrMigrationObserver::IapAvailableL.
 		TUint32 iOfferedIapId;
@@ -163,6 +164,9 @@
 		// Will be set to EFalse, when ALR monitor notifies about IAP, using
 		// MSipAlrObserver::IapAvailable.
 		TBool iRefreshIssued;
+		
+		// This contains the SNAP ID and the Bearer ID configured for the SNAP.
+		TSipSNAPConfigurationData iSnapData;
 
     private: // For testing purposes		
 #ifdef CPPUNIT_TEST