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 |
// Inline methods of the Umts/Gprs SubConnection Provider
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
/**
|
|
19 |
@file
|
|
20 |
@internalComponent
|
|
21 |
*/
|
|
22 |
|
|
23 |
|
|
24 |
|
|
25 |
inline CUmtsGprsSubConnProvd::CUmtsGprsSubConnProvd(
|
|
26 |
CSubConnectionProviderFactoryBase& aFactory,
|
|
27 |
CConnectionProviderBase& aConnProvider)
|
|
28 |
:CSubConnectionProviderBase(aFactory, aConnProvider),
|
|
29 |
iContextId(KAllContexts), /*Initialising to an illegal value*/
|
|
30 |
iCurrentPdpFsmReq(NULL)
|
|
31 |
/**
|
|
32 |
Constructs a UMTS SubConnection Provider
|
|
33 |
|
|
34 |
@param aFactory CSubConnectionProviderFactoryBase that should own the reference to 'this'
|
|
35 |
@param aConnProvider a connection that 'this' subconnection belongs to
|
|
36 |
*/
|
|
37 |
{
|
|
38 |
__FLOG_OPEN(KUmtsGprsLogTag1, KUmtsGprsLogTag2);
|
|
39 |
__FLOG_2(_L("CUmtsGprsSubConnProvd [this=%08x]:\tCUmtsGprsSubConnProvd() [MConnectionDataClient=%08x]"),this,(MConnectionDataClient*)this);
|
|
40 |
}
|
|
41 |
|
|
42 |
inline void CUmtsGprsSubConnProvd::Done(TInt /*aResult*/, CPdpFsmRequestBase& aThis)
|
|
43 |
{
|
|
44 |
ASSERT(&aThis == iCurrentPdpFsmReq);
|
|
45 |
(void)aThis;
|
|
46 |
delete iCurrentPdpFsmReq;
|
|
47 |
iCurrentPdpFsmReq = NULL;
|
|
48 |
}
|
|
49 |
|
|
50 |
inline TContextId CUmtsGprsSubConnProvd::GetContextId() const
|
|
51 |
{
|
|
52 |
return iContextId;
|
|
53 |
}
|
|
54 |
|
|
55 |
inline TInt CUmtsGprsSubConnProvd::NotifyClientEvent(const CSubConNotificationEvent& aEvent)
|
|
56 |
{
|
|
57 |
return CSubConnectionProviderBase::NotifyClientEvent(aEvent);
|
|
58 |
}
|
|
59 |
|
|
60 |
|
|
61 |
inline CUmtsGprsSubConnProvd::TQosParameterRelease CUmtsGprsSubConnProvd::RequestedQosRelease()
|
|
62 |
{
|
|
63 |
return iParameterRelease;
|
|
64 |
}
|
|
65 |
|
|
66 |
inline void CUmtsGprsSubConnProvd::ResetQosRelease ()
|
|
67 |
{
|
|
68 |
iParameterRelease = CUmtsGprsSubConnProvd::KParameterRelInvalid;
|
|
69 |
}
|
|
70 |
|
|
71 |
|
|
72 |
inline CPdpFsmRequestBase::~CPdpFsmRequestBase ()
|
|
73 |
{
|
|
74 |
__FLOG_CLOSE;
|
|
75 |
}
|