telephonyprotocols/umtsgprsscpr/spudtel/inc/cqoschangenotifier.h
changeset 64 b34bb05ac869
parent 56 ab72d5c1d770
equal deleted inserted replaced
56:ab72d5c1d770 64:b34bb05ac869
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // QoS profile change notifier
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file 
       
    20  @internalComponent
       
    21 */
       
    22 
       
    23 #ifndef CQOSCHAGENOTIFIER_H
       
    24 #define CQOSCHAGENOTIFIER_H
       
    25 
       
    26 #include <e32base.h>
       
    27 
       
    28 #include "ceteldrivernotifier.h"
       
    29 #include "ceteldrivercontext.h" // definition of TQoSR99_R4NegotiatedPckg
       
    30 #include "pdpfsmnmspace.h"
       
    31 
       
    32 
       
    33 class RPacketQoS;
       
    34 
       
    35 /** QoS profile change notifier */
       
    36 class CQoSChangeNotifier : public CEtelDriverNotifier
       
    37 	{
       
    38 public:
       
    39 	CQoSChangeNotifier (TContextId aId, RPacketQoS& aPacketQoS, 
       
    40 							CPdpFsmInterface& aPdpFsmInterface);
       
    41 	virtual ~CQoSChangeNotifier();
       
    42 
       
    43 	virtual void Start();
       
    44 
       
    45 protected:
       
    46 	virtual void Notify(const TRequestStatus& aStatus);
       
    47 	virtual void DoCancel();
       
    48 
       
    49 private:
       
    50 	/** associated context id */
       
    51 	TContextId							iId;
       
    52 	/** ref to packet QoS */
       
    53 	RPacketQoS&							iPacketQoS;
       
    54 
       
    55     TNegotiatedProfileBuffer iProfileBuffer;
       
    56     TNegotiatedProfileBufferPckg iProfilePckg;
       
    57 	};
       
    58 
       
    59 #endif
       
    60 // CQOSCHAGENOTIFIER_H