bearermanagement/mpm/inc/mpmserver.h
changeset 73 70ee5458c95d
parent 72 0c32cf868819
equal deleted inserted replaced
72:0c32cf868819 73:70ee5458c95d
   467         * the certain connection.
   467         * the certain connection.
   468         * @since 3.1
   468         * @since 3.1
   469         * @param aConnId Connection Id
   469         * @param aConnId Connection Id
   470         * @param aIapId IAP Id of the connection.
   470         * @param aIapId IAP Id of the connection.
   471         * @param aCategory Either connection lifetime or temporary. 
   471         * @param aCategory Either connection lifetime or temporary. 
   472         * @return KErrNone if successful, otherwise one of the
   472         */
   473         * system-wide error codes 
   473         void HandleServerBlackListIap( const TConnectionId   aConnId, 
   474         */
       
   475         TInt HandleServerBlackListIap( const TConnectionId   aConnId, 
       
   476                                        TUint32               aIapId, 
   474                                        TUint32               aIapId, 
   477                                        TBlacklistCategory    aCategory );
   475                                        TBlacklistCategory    aCategory );
   478 
   476 
   479         /**
   477         /**
   480         * Handling of blacklisting certain IAP for the certain connection.
   478         * Handling of blacklisting certain IAP for the certain connection.
   481         * @since 3.1
   479         * @since 3.1
   482         * @param aConnId Connection Id
   480         * @param aConnId Connection Id
   483         * @param aIapId IAP Id of the connection.
   481         * @param aIapId IAP Id of the connection.
   484         * @param aCategory Either connection lifetime or temporary. 
   482         * @param aCategory Either connection lifetime or temporary. 
   485         * @return KErrNone if successful, otherwise one of the
   483         */
   486         * system-wide error codes 
   484         void BlackListIap( const TConnectionId   aConnId, 
   487         */
       
   488         TInt BlackListIap( const TConnectionId   aConnId, 
       
   489                            TUint32               aIapId, 
   485                            TUint32               aIapId, 
   490                            TBlacklistCategory    aCategory );
   486                            TBlacklistCategory    aCategory );
   491 
   487 
   492         /**
   488         /**
   493         * Handling of unblacklisting certain IAP or all IAPs 
   489         * Handling of unblacklisting certain IAP or all IAPs 
   511         /**
   507         /**
   512         * Get blacklisted iap based on the Connection Id.
   508         * Get blacklisted iap based on the Connection Id.
   513         * @since 3.1
   509         * @since 3.1
   514         * @param aConnId Connection Id
   510         * @param aConnId Connection Id
   515         * @param aBlacklistedIAP returns blacklisted iaps.
   511         * @param aBlacklistedIAP returns blacklisted iaps.
   516         * @return KErrNone if successful.
   512         */
   517         */
   513         void GetBlacklistedIAP( TConnectionId    aConnId, 
   518         TInt GetBlacklistedIAP( TConnectionId    aConnId, 
       
   519                                 RArray<TUint32> &aBlacklistedIAP );
   514                                 RArray<TUint32> &aBlacklistedIAP );
   520 
   515 
   521         /**
   516         /**
   522         * Get all blacklisted IAPs.
   517         * Get all blacklisted IAPs.
   523         * @since 3.2
   518         * @since 3.2
   524         * @param aBlacklistedIAP returns blacklisted iaps.
   519         * @param aBlacklistedIAP returns blacklisted iaps.
   525         * @return KErrNone if successful.
   520         */
   526         */
   521         void GetBlacklistedIAP( RArray<TUint32> &aBlacklistedIAP );
   527         TInt GetBlacklistedIAP( RArray<TUint32> &aBlacklistedIAP );
       
   528 
   522 
   529         /**
   523         /**
   530         * Set the ConnMonEvents object.
   524         * Set the ConnMonEvents object.
   531         * @since 3.1
   525         * @since 3.1
   532         * @param aEvents Pointer to the ConnMonEvents object.
   526         * @param aEvents Pointer to the ConnMonEvents object.