connectionmonitoring/connmon/connectionmonitor/inc/ConnMonBearerGPRS.h
changeset 0 5a93021fdf25
child 3 f7816ffc66ed
equal deleted inserted replaced
-1:000000000000 0:5a93021fdf25
       
     1 /*
       
     2 * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Declaration for bearer GPRS.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CONNMONBEARERGPRS_H
       
    19 #define CONNMONBEARERGPRS_H
       
    20 
       
    21 #include "ConnMonBearer.h"
       
    22 
       
    23 /**
       
    24  * TConnMonBearerGPRS
       
    25  * Class declaration for GPRS bearer
       
    26  */
       
    27 class TConnMonBearerGPRS : public TConnMonBearer
       
    28     {
       
    29 public:
       
    30     /**
       
    31      * Constructor.
       
    32      * @param aConnMonIAP Link to IAP services
       
    33      */
       
    34     TConnMonBearerGPRS( CConnMonIAP* aConnMonIAP, CConnMonCommsDatCache* aCommsDatCache );
       
    35 
       
    36     // From TConnMonBearer
       
    37 
       
    38     /**
       
    39      * Is the bearer available
       
    40      * @param aAvailable ETrue if bearer is available
       
    41      * @return errorcode
       
    42      */
       
    43     TInt GetAvailability( TBool& aAvailable ) const;
       
    44 
       
    45     /**
       
    46      * Bearer ID getter
       
    47      *
       
    48      * @return bearer ID
       
    49      */
       
    50     TUint BearerId() const;
       
    51 
       
    52     /**
       
    53      * Invariant - validates bearer
       
    54      *
       
    55      * @return ETrue if bearer is valid (internal state is correct)
       
    56      */
       
    57     TBool Valid() const;
       
    58 
       
    59     /**
       
    60      * Sets available IAPs of this type as available in CommsDat cache
       
    61      */
       
    62     void FlagAvailableIaps() const;
       
    63     };
       
    64 
       
    65 #endif // CONNMONBEARERGPRS_H
       
    66 
       
    67 // End-of-file