CMmPacketContextTsy Class Reference
class CMmPacketContextTsy : public CSubSessionExtBase |
Private Member Functions |
---|
TInt
| ActivateL() |
TInt
| AddMediaAuthorizationL(const TTsyReqHandle, TDes8 *) |
TInt
| AddPacketFilterL(const TTsyReqHandle, TDes8 *const ) |
void | ConstructL() |
TInt
| DeactivateL() |
TInt
| DeleteL() |
TInt
| DoExtFuncL(const TTsyReqHandle, const TInt, const TDataPackage &) |
TInt
| EnumeratePacketFilters(const TTsyReqHandle, TInt *) |
TInt
| GetConfig(const TTsyReqHandle, TPacketDataConfigBase *const ) |
TInt
| GetConnectionSpeed(const TTsyReqHandle, TUint *const ) |
TInt
| GetDataVolumeTransferredL(const TTsyReqHandle, RPacketContext::TDataVolume *const ) |
TInt
| GetDnsInfo(const TTsyReqHandle, TDes8 *const ) |
TInt
| GetLastErrorCause(const TTsyReqHandle, TInt *const ) |
TInt
| GetPacketFilterInfo(const TTsyReqHandle, TInt *, TPacketBase *) |
TInt
| GetProfileName(const TTsyReqHandle, TInfoName *const ) |
TInt
| GetStatus(const TTsyReqHandle, RPacketContext::TContextStatus *const ) |
void | InitInternalAttributes() |
void | InitModulesL() |
TInt
| InitialiseContextL(RPacketContext::TDataChannelV2 *) |
TInt
| ModifyActiveContextL() |
TInt
| NotifyConfigChanged(TPacketDataConfigBase *const ) |
TInt
| NotifyConnectionSpeedChange(TUint *const ) |
TInt
| NotifyStatusChange(RPacketContext::TContextStatus *const ) |
TInt
| RemoveMediaAuthorization(const TTsyReqHandle, RPacketContext::TAuthorizationToken *const ) |
TInt
| RemovePacketFilter(const TTsyReqHandle, TInt *) |
void | ReqCompleted(const TTsyReqHandle, const TInt) |
TInt
| SetConfigL(TPacketDataConfigBase *const ) |
void | SetTypeOfResponse(const TInt, const TTsyReqHandle) |
Inherited Functions |
---|
| CBase::CBase() |
| CBase::Delete(CBase *) |
| CBase::operator new(TUint) |
| CBase::operator new(TUint,TAny *) |
| CBase::operator new(TUint,TLeave) |
| CBase::operator new(TUint,TLeave,TUint) |
| CBase::operator new(TUint,TUint) |
| CBase::~CBase() |
| CObject::AccessCount()const |
| CObject::CObject() |
| CObject::Close() |
| CObject::Dec() |
| CObject::Extension_(TUint,TAny *&,TAny *) |
| CObject::FullName()const |
| CObject::Name()const |
| CObject::Open() |
| CObject::Owner()const |
| CObject::SetName(const TDesC *) |
| CObject::SetNameL(const TDesC *) |
| CObject::SetOwner(CObject *) |
| CObject::UniqueID()const |
| CObject::~CObject() |
| CSubSessionExtBase::CSubSessionExtBase() |
| CSubSessionExtBase::CloseSubSessionPreProcessing(CTelSession *,const TInt) |
| CSubSessionExtBase::GlobalKernelObjectHandle() |
| CSubSessionExtBase::NullMethod1() |
| CSubSessionExtBase::OpenPostProcessing(CTelSession *,const ) |
| CSubSessionExtBase::Service(const RMessage2 &,CReqEntry *) |
| CSubSessionExtBase::ServiceExtFunc(const RMessage2 &,CReqEntry *) |
| CSubSessionExtBase::~CSubSessionExtBase() |
| CTelObject::BufferDes1(const CBuffer *,CBuffer::TWhichSlot)const |
| CTelObject::BufferDes1u(const CBuffer *,CBuffer::TWhichSlot)const |
| CTelObject::BufferDes2(const CBuffer *,CBuffer::TWhichSlot)const |
| CTelObject::BufferDes2u(const CBuffer *,CBuffer::TWhichSlot)const |
| CTelObject::CTelObject() |
| CTelObject::CancelSubSession(CTelSession *,const TInt) |
| CTelObject::CheckAndDestroyDummySubSession() |
| CTelObject::CreateDummySession(CTelSession *,const TInt,TBool) |
| CTelObject::CreateDummySessionObjectL(CTelSession *) |
| CTelObject::DownCallOption(const TInt,TAny *) |
| CTelObject::FlowControlResume() |
| CTelObject::FlowControlSuspend() |
| CTelObject::FlushReqs(CTelSession *,const TInt) |
| CTelObject::GeneralReq(const RMessage2 &,CTelSession *,CReqEntry *,TBool) |
| CTelObject::GetRequiredPlatSecCaps(const TInt) |
| CTelObject::IsPriorityClientReq(TInt)const |
| CTelObject::PhoneOwner()const |
| CTelObject::Ptr1(const TDes8 *)const |
| CTelObject::RemoveDummySubSessionDestroyer() |
| CTelObject::ResolveError(CTelSession *,const TInt)const |
| CTelObject::ServerVersion()const |
| CTelObject::SetPhoneOwner(CPhoneBase *) |
| CTelObject::TelObjectClose() |
| CTelObject::UpCallOption(const TInt,TAny *) |
| CTelObject::UpdateAndCompleteIfNecessary(CReqEntry *,TInt)const |
| CTelObject::WriteBackAndCompleteBufferedReq(const RMessage2 &,CReqEntry *,TInt)const |
| CTelObject::WriteBackAndCompleteReq(CReqEntry *,const TInt)const |
| CTelObject::~CTelObject() |
Public Member Enumerations |
---|
enum | TPacketContextRequestTypes { EMultimodePacketContextReqHandleUnknown, EMultimodePacketContextInitialiseContext, EMultimodePacketContextActivate, EMultimodePacketContextDeactivate, EMultimodePacketContextDelete, EMultimodePacketContextNotifyConfigChanged, EMultimodePacketContextNotifyConnectionSpeedChange, EMultimodePacketContextNotifyStatusChange, EMultimodePacketContextSetConfig, EMultimodePacketContextGetDataVolumeTransferred, EMultimodePacketContextGetPacketFilterInfo, EMultimodePacketContextEnumeratePacketFilters, EMultimodePacketContextAddPacketFilter, EMultimodePacketContextRemovePacketFilter, EMultimodePacketContextModifyActiveContext, EMultimodePacketContextNotifyConfigChanged99, EMultimodePacketContextAddMediaAuthorization, EMaxNumOfPacketContextRequests } |
enum | TPacketContextType { EContextTypePacketContext, EContextTypeMBMS } |
Constructor & Destructor Documentation
Member Functions Documentation
ActivateL()
TInt
| ActivateL | ( | ) | [private] |
AddMediaAuthorizationL(const TTsyReqHandle, TDes8 *)
Adds authorization params
Parameters
const TTsyReqHandle aTsyReqHandle | request handle |
TDes8 * aMediaAuthorization | params to be added |
AddPacketFilterL(const TTsyReqHandle, TDes8 *const)
Set/Modify packet filter(s) to secondary context
Parameters
const TTsyReqHandle aTsyReqHandle | TSY request handle |
TDes8 *const aPacketFilter | Contains packet filter(s) info |
CancelService(const TInt, const TTsyReqHandle)
Cancels request that's IPC number and request handle are given as parameters
Complete(const TInt, const TInt)
void | Complete | ( | const TInt | aReqHandleType, |
| const TInt | aError |
| ) | |
Call the needed complete method due the timer expiration.
Parameters
const TInt aReqHandleType | |
const TInt aError | |
CompleteActivate(const TInt)
void | CompleteActivate | ( | const TInt | aResult | ) | |
Complete the context activation.
Parameters
const TInt aResult | Result of the request |
CompleteDeactivate(const TInt)
void | CompleteDeactivate | ( | const TInt | aResult | ) | |
Complete the context deactivation
Parameters
const TInt aResult | Result of the request |
CompleteDelete(const TInt)
void | CompleteDelete | ( | const TInt | aResult | ) | |
Complete the context delete
Parameters
const TInt aResult | Result of the request |
CompleteGetDataVolumeTransferred(const TInt)
void | CompleteGetDataVolumeTransferred | ( | const TInt | aResult | ) | |
Complete the get data volume transferred request.
Parameters
const TInt aResult | Result of the request |
CompleteInitialiseContext(const TInt)
void | CompleteInitialiseContext | ( | const TInt | aResult | ) | |
Complete the context initialisation
Parameters
const TInt aResult | Result of the request |
CompleteModifyActiveContext(const TInt)
void | CompleteModifyActiveContext | ( | const TInt | aResult | ) | |
Completes contecxt Modification to client.
Parameters
const TInt aResult | Result of the request |
CompleteNotifyConfigChanged()
void | CompleteNotifyConfigChanged | ( | ) | |
Complete the config changed notification
CompleteNotifyConnectionSpeedChange(TInt const)
void | CompleteNotifyConnectionSpeedChange | ( | TInt const | aConnectionSpeed | ) | [virtual] |
Complete the connection speed change notification
Parameters
TInt const aConnectionSpeed | Contains connections speed |
CompleteNotifyStatusChange(const RPacketContext::TContextStatus)
Complete the status change notification
CompleteSetConfig(const TInt, TBool)
void | CompleteSetConfig | ( | const TInt | aResult, |
| TBool | aIsAddMediaAuthorizationCalled = EFalse |
| ) | |
Complete the context configuration
Parameters
const TInt aResult | Result of the request |
TBool aIsAddMediaAuthorizationCalled = EFalse | indicator to check if Response is for AddMediaAuthorizationL |
ConstructL()
void | ConstructL | ( | ) | [private] |
Class attributes are created in ConstructL.
ContextResumed()
Resume the suspended context. This function is called from Packet Service Tsy to notify client
ContextSuspended()
Suspend the context. Called from Packet Service Tsy to notify client
ContextType()
Returns type of context based on context name
DeactivateL()
TInt
| DeactivateL | ( | ) | [private] |
DeregisterNotification(const TInt)
TInt
| DeregisterNotification | ( | const TInt | aIpc | ) | [virtual] |
Deregister given notification
Parameters
const TInt aIpc | IPC number of the request |
DoExtFuncL(const TTsyReqHandle, const TInt, const TDataPackage &)
TRAP's all CMmPacketContextTsy related MM Packet API requests in case that they fail. This method functions only as a centralized TRAP for the DoExtFuncL method that does the actual mapping of IPC number to TSY method call.
Parameters
const TTsyReqHandle aTsyReqHandle | TSY request handle from ETel server |
const TInt aIpc | IPC number of the request |
const TDataPackage & aPackage | Reference to the input parameters. |
EnumeratePacketFilters(const TTsyReqHandle, TInt *)
Enumerate context packet filters
Parameters
const TTsyReqHandle aTsyReqHandle | TSY request handle |
TInt * aCount | Contains packet filter count in return |
ExtFunc(const TTsyReqHandle, const TInt, const TDataPackage &)
TRAP's all CMmPacketContextTsy related MM API requests in case that they fail. This method functions only as a centralized TRAP for the DoExtFuncL method that does the actual mapping of IPC number to TSY method call.
Parameters
const TTsyReqHandle aTsyReqHandle | TSY request handle from ETel server |
const TInt aIpc | IPC number of the request |
const TDataPackage & aPackage | Reference to the input parameters. |
GetConfig(const TTsyReqHandle, TPacketDataConfigBase *const)
Get the context configuration info
GetConnectionSpeed(const TTsyReqHandle, TUint *const)
Get the current connection speed availability
GetDataVolumeTransferredL(const TTsyReqHandle, RPacketContext::TDataVolume *const)
Get the data volume transferred
GetDnsInfo(const TTsyReqHandle, TDes8 *const)
Get the DNS info for Etel side request
Parameters
const TTsyReqHandle aTsyReqHandle | TSY request handle |
TDes8 *const aDnsInfo | Contains DNS information in return |
GetLastErrorCause(const TTsyReqHandle, TInt *const)
Get the last error cause occurred
GetPacketFilterInfo(const TTsyReqHandle, TInt *, TPacketBase *)
Gets filter info specified by index
Parameters
const TTsyReqHandle aTsyReqHandle | TSY request handle |
TInt * aIndex | of the wanted filter index |
TPacketBase * aPacketFilterInfo | Contains packet filter information |
GetProfileName(const TTsyReqHandle, TInfoName *const)
GetStatus(const TTsyReqHandle, RPacketContext::TContextStatus *const)
Get the current status of the context
HostCID()
Return the HostCID class member
Init()
Initialisation method that is called from ETel Server.
InitInternalAttributes()
void | InitInternalAttributes | ( | ) | [private] |
Initialise miscellaneous internal attributes.
InitModulesL()
void | InitModulesL | ( | ) | [private] |
InitialiseContextL(RPacketContext::TDataChannelV2 *)
IsDialUpContext(const TInfoName *const)
TBool
| IsDialUpContext | ( | const TInfoName *const | aContextName = NULL | ) | const |
Check if this is a dial-up context, otherwise EFalse.
Parameters
const TInfoName *const aContextName = NULL | Contains the name of this context |
ModifyActiveContextL()
TInt
| ModifyActiveContextL | ( | ) | [private] |
Method invokes MS-initiated modification of an active context in the network
NewL(CMmPacketServiceTsy *const, const TInfoName &, const TDes &, const TUint8)
Parameters
CMmPacketServiceTsy *const aMmPacketService | Pointer to the Packet Service object |
const TInfoName & aHostCID | Name of existing context |
const TDes & aName | Context name |
const TUint8 aProxyId = 0x00 | Proxy id |
NotifyConfigChanged(TPacketDataConfigBase *const)
Allows clients to be notified of any change in context configuration. Allows a client to be notified whenever a change in the configuration of the current context is detected and passes back the updated configuration. Note that once the notification completes, the clients must then re-post the notification if they wish to continue receiving the notification.
NotifyConnectionSpeedChange(TUint *const)
TInt
| NotifyConnectionSpeedChange | ( | TUint *const | aRate | ) | [private] |
Allows clients to be notified of any change in the connection speed
NotifyStatusChange(RPacketContext::TContextStatus *const)
Allows clients to be notified of any change in the context status
NumberOfSlotsL(const TInt)
TInt
| NumberOfSlotsL | ( | const TInt | aIpc | ) | [virtual] |
Returns number of slots to be used for a given IPC
*
Parameters
const TInt aIpc | IPC number of the request |
OpenNewObjectByNameL(const TDesC &)
Return a pointer to QoS if it exists
Parameters
const TDesC & aName | Object name that should be opened |
OpenNewObjectL(TDes &)
Create new QoS object and returns a pointer to it
PacketContextGsmWcdmaExt()
RegisterNotification(const TInt)
TInt
| RegisterNotification | ( | const TInt | aIpc | ) | [virtual] |
Register given notification
Parameters
const TInt aIpc | IPC number of the request |
RemoveMediaAuthorization(const TTsyReqHandle, RPacketContext::TAuthorizationToken *const)
Removes authorization params
RemovePacketFilter(const TTsyReqHandle, TInt *)
Remove packet filter from context
Parameters
const TTsyReqHandle aTsyReqHandle | TSY request handle |
TInt * aID | Contains packet filter ID to be removed |
ReqCompleted(const TTsyReqHandle, const TInt)
void | ReqCompleted | ( | const TTsyReqHandle | aTsyReqHandle, |
| const TInt | aError |
| ) | [private, virtual] |
Overloads original ReqCompleted for logging purposes
ReqModeL(const TInt)
CTelObject::TReqMode | ReqModeL | ( | const TInt | aIpc | ) | [virtual] |
Returns request mode for given IPC number
*
Parameters
const TInt aIpc | IPC number of the request |
ResetDialUpContext()
Reset the externally created dial-up context.
SetConfigL(TPacketDataConfigBase *const)
Set context configuration
SetDataVolume(const TInt, RPacketContext::TDataVolume)
Sets the amount of data transmitted & received over the airlink since the context was activated.
SetLastErrorCause(const TInt)
void | SetLastErrorCause | ( | const TInt | aErrorCause | ) | |
Set the last error cause.
Parameters
const TInt aErrorCause | Contains the last error cause |
SetTypeOfResponse(const TInt, const TTsyReqHandle)
void | SetTypeOfResponse | ( | const TInt | aReqHandleType, |
| const TTsyReqHandle | aTsyReqHandle |
| ) | [private] |
Choose the type of response, automatic or common.
Member Enumerations Documentation
Enum TPacketContextRequestTypes
Enumerators
EMultimodePacketContextReqHandleUnknown | |
EMultimodePacketContextInitialiseContext | |
EMultimodePacketContextActivate | |
EMultimodePacketContextDeactivate | |
EMultimodePacketContextDelete | |
EMultimodePacketContextNotifyConfigChanged | |
EMultimodePacketContextNotifyConnectionSpeedChange | |
EMultimodePacketContextNotifyStatusChange | |
EMultimodePacketContextSetConfig | |
EMultimodePacketContextGetDataVolumeTransferred | |
EMultimodePacketContextGetPacketFilterInfo | |
EMultimodePacketContextEnumeratePacketFilters | |
EMultimodePacketContextAddPacketFilter | |
EMultimodePacketContextRemovePacketFilter | |
EMultimodePacketContextModifyActiveContext | |
EMultimodePacketContextNotifyConfigChanged99 | |
EMultimodePacketContextAddMediaAuthorization | |
EMaxNumOfPacketContextRequests | |
Enum TPacketContextType
Enumerators
EContextTypePacketContext |
Packet Context
|
EContextTypeMBMS |
MBMS Context
|
Member Data Documentation
RPacketContext::TConnectionInfoV1
iConnectionInfo
Connection information received from LTSY.
TUint
iConnectionSpeed
TUint
| iConnectionSpeed | [private] |
RPacketContext::TContextStatus
iContextStatus
RPacketContext::TContextStatus
iContextStatusBeforeSuspending
Context status before suspending
RPacketContext::TDataVolume
iDataVolume
TBool
iIsDialUpContext
TBool
| iIsDialUpContext | [private] |
TInt
iLastErrorCause
TInt
| iLastErrorCause | [private] |
CMmPacketContextGsmWcdmaExt * iMmPacketContextGsmWcdmaExt
Pointer to the gsm extension
CMmPacketServiceTsy * iMmPacketService
Pointer to the Packet Service TSY Not own.
TUint
iNotifyConnectionSpeed
TUint
| iNotifyConnectionSpeed | [private] |
TTsyReqHandle
iPacketContextReqHandles
Table for packet context request handles
CMmPacketQoSTsy * iQoSProfile
Pointer to the QoS Profile Not own.
TInfoName
iQoSProfileName
TPacketContextRequestTypes
iReqHandleType
RPacketContext::TDataVolume * iRetDataVolume
Get Data Volume Transferred Not own.
TPacketDataConfigBase * iRetNotifyConfig
Notify Config Changed Not own.
TPacketDataConfigBase * iRetNotifyConfig2
Notify Config Changed Not own.
TConnectionInfoBase * iRetNotifyConnectionInfo
Pointer to connection info held by client, to be populated when notification request is completed. Not own.
TUint * iRetNotifyConnectionSpeed
TUint * | iRetNotifyConnectionSpeed | [private] |
Notify Connection Speed Change Not own.
RPacketContext::TContextStatus * iRetNotifyStatus
Notify Context Status Change Not own.
CMmTsyReqHandleStore * iTsyReqHandleStore
Pointer to the Req handle store Own.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.