bearermanagement/mpm/inc/mpmserver.h
changeset 72 0c32cf868819
parent 71 9f263f780e41
child 73 70ee5458c95d
equal deleted inserted replaced
71:9f263f780e41 72:0c32cf868819
    48 
    48 
    49 const TInt    KPhoneRetryCount   = 7;
    49 const TInt    KPhoneRetryCount   = 7;
    50 // 0.1 seconds
    50 // 0.1 seconds
    51 //
    51 //
    52 const TInt    KPhoneRetryTimeout = 100000;
    52 const TInt    KPhoneRetryTimeout = 100000;
       
    53 
       
    54 const TUint32 KMaxOpenTransAttempts = 5;
       
    55 const TUint32 KRetryAfter = 200000;
    53 
    56 
    54 // The granularity with which roaming and starting dialogs will allocate memory chunks. 
    57 // The granularity with which roaming and starting dialogs will allocate memory chunks. 
    55 // If set to two there will be space for two instances before new memory will be allocated.
    58 // If set to two there will be space for two instances before new memory will be allocated.
    56 const TInt    KGranularity       = 2;
    59 const TInt    KGranularity       = 2;
    57 
    60 
   830         */
   833         */
   831         CMPMServerSession* GetServerSession( TConnectionId aConnId ) const;
   834         CMPMServerSession* GetServerSession( TConnectionId aConnId ) const;
   832         
   835         
   833         /**
   836         /**
   834         * Stops cellular connections, except MMS
   837         * Stops cellular connections, except MMS
   835         * @since 5.2
   838         * @param aSilentOnly stop only silent cellular connections
   836         */
   839         * @since 5.2
   837         void StopCellularConns();
   840         */
       
   841         void StopCellularConns( TBool aSilentOnly = EFalse );
   838         
   842         
   839         /**
   843         /**
   840         * Handle to connection ui utilities
   844         * Handle to connection ui utilities
   841         */        
   845         */        
   842         inline CConnectionUiUtilities* ConnUiUtils() const;
   846         inline CConnectionUiUtilities* ConnUiUtils() const;
   916                                 RArray<TUint32>& aAvailWlanIapIds,
   920                                 RArray<TUint32>& aAvailWlanIapIds,
   917                                 RAvailableIAPList& aIapList,
   921                                 RAvailableIAPList& aIapList,
   918                                 TBool aCheckForBestIap,
   922                                 TBool aCheckForBestIap,
   919                                 TMPMBearerType aDestinationBearerType );
   923                                 TMPMBearerType aDestinationBearerType );
   920         
   924         
       
   925         /**
       
   926          * Check if iap can be disconnected, and disconnect it
       
   927          * @since 5.2
       
   928          * @param aIapId Iap id for checking
       
   929          */
       
   930         void CheckIapForDisconnect( TInt aIapId );
       
   931         
   921 
   932 
   922     private: // Data
   933     private: // Data
   923         // Pointer to the ConnMonEvents object
   934         // Pointer to the ConnMonEvents object
   924         CMPMConnMonEvents* iEvents;
   935         CMPMConnMonEvents* iEvents;
   925 
   936