44
|
1 |
// Copyright (c) 2005-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 |
// PDP Context control requests.
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
/**
|
|
19 |
@file
|
|
20 |
@internalComponent
|
|
21 |
*/
|
|
22 |
|
|
23 |
#ifndef CPDPFSMREQUEST_H
|
|
24 |
#define CPDPFSMREQUEST_H
|
|
25 |
|
|
26 |
#include "UmtsGprs_subconnProv.h"
|
|
27 |
|
|
28 |
/** The class commits previous modifications to an active PDP context.
|
|
29 |
|
|
30 |
@internalTechnology
|
|
31 |
@released Since 9.3
|
|
32 |
*/
|
|
33 |
class CModifyActivePDPCtx : public CPdpFsmRequestBase
|
|
34 |
{
|
|
35 |
public:
|
|
36 |
virtual TInt Start();
|
|
37 |
virtual TBool PdpFsmEvent(TContextId aContextId, TInt aEvent, TInt aParam);
|
|
38 |
|
|
39 |
CModifyActivePDPCtx(CUmtsGprsSubConnProvd& aProvider, MPdpFsmRequestOwner& aOwner);
|
|
40 |
virtual ~CModifyActivePDPCtx();
|
|
41 |
};
|
|
42 |
|
|
43 |
|
|
44 |
|
|
45 |
#ifdef SYMBIAN_NETWORKING_UMTSR5
|
|
46 |
/** The class modifies R5 QoS on an active PDP context.
|
|
47 |
|
|
48 |
@internalTechnology
|
|
49 |
@released Since 9.3
|
|
50 |
*/
|
|
51 |
class CModifyR5QoS : public CPdpFsmRequestBase, public MPdpFsmRequestOwner
|
|
52 |
{
|
|
53 |
public:
|
|
54 |
virtual void Done( TInt aResult, CPdpFsmRequestBase& aThis );
|
|
55 |
virtual TInt Start();
|
|
56 |
virtual TBool PdpFsmEvent(TContextId aContextId, TInt aEvent, TInt aParam);
|
|
57 |
virtual ~CModifyR5QoS();
|
|
58 |
static CModifyR5QoS* NewL(CUmtsGprsSubConnProvd& aProvider, MPdpFsmRequestOwner& aOwner, RPacketQoS::TQoSR5Requested& aParams);
|
|
59 |
|
|
60 |
protected:
|
|
61 |
CModifyR5QoS(CUmtsGprsSubConnProvd& aProvider, MPdpFsmRequestOwner& aOwner, RPacketQoS::TQoSR5Requested& aParams);
|
|
62 |
|
|
63 |
void ConstructL();
|
|
64 |
|
|
65 |
private:
|
|
66 |
void GrantedSetupL();
|
|
67 |
void RejectedSetupL(TInt aResult);
|
|
68 |
private:
|
|
69 |
CModifyActivePDPCtx* iModifyActive;
|
|
70 |
RPacketQoS::TQoSR5Requested i5;
|
|
71 |
};
|
|
72 |
|
|
73 |
|
|
74 |
#else
|
|
75 |
// !SYMBIAN_NETWORKING_UMTSR5
|
|
76 |
|
|
77 |
/**
|
|
78 |
The class modifies R99/R4 QoS on an active PDP context.
|
|
79 |
|
|
80 |
@internalTechnology
|
|
81 |
@released Since 9.3
|
|
82 |
*/
|
|
83 |
class CModifyR4QoS : public CPdpFsmRequestBase, public MPdpFsmRequestOwner
|
|
84 |
{
|
|
85 |
public:
|
|
86 |
virtual void Done( TInt aResult, CPdpFsmRequestBase& aThis );
|
|
87 |
virtual TInt Start();
|
|
88 |
virtual TBool PdpFsmEvent(TContextId aContextId, TInt aEvent, TInt aParam);
|
|
89 |
virtual ~CModifyR4QoS();
|
|
90 |
|
|
91 |
|
|
92 |
static CModifyR4QoS* NewL(CUmtsGprsSubConnProvd& aProvider, MPdpFsmRequestOwner& aOwner, RPacketQoS::TQoSR99_R4Requested aParams);
|
|
93 |
|
|
94 |
protected:
|
|
95 |
CModifyR4QoS(CUmtsGprsSubConnProvd& aProvider, MPdpFsmRequestOwner& aOwner, RPacketQoS::TQoSR99_R4Requested aParams);
|
|
96 |
|
|
97 |
void ConstructL();
|
|
98 |
|
|
99 |
private:
|
|
100 |
void GrantedSetupL();
|
|
101 |
void RejectedSetupL(TInt aResult);
|
|
102 |
private:
|
|
103 |
CModifyActivePDPCtx* iModifyActive;
|
|
104 |
RPacketQoS::TQoSR99_R4Requested i99;
|
|
105 |
|
|
106 |
};
|
|
107 |
|
|
108 |
|
|
109 |
#endif
|
|
110 |
// SYMBIAN_NETWORKING_UMTSR5
|
|
111 |
|
|
112 |
#endif
|
|
113 |
// CPDPFSMREQUEST_H
|