CMmPacketServiceTsy Class Reference

class CMmPacketServiceTsy : public CSubSessionExtBase

CMmPacketServiceTsy contains GPRS service related functionality.

Inherits from

Public Member Functions
~CMmPacketServiceTsy()
CMmPacketServiceGsmWcdmaExt *ActivePacketServiceExtension()
TInt AttachL()
TInt CancelService(const TInt, const TTsyReqHandle)
voidCancelSetAlwaysOn(TTsyReqHandle)
voidComplete(const CTelObject *const , const TInt, const TInt)
voidCompleteAttach(const TInt)
voidCompleteDetachL(const TInt)
voidCompleteEnumerateMbmsActiveServiceList(CMmDataPackage *, TInt)
voidCompleteGetAttachMode(const RPacketService::TAttachMode, TInt)
voidCompleteGetMbmsNetworkServiceStatus(CMmDataPackage *, TInt)
voidCompleteGetNtwkRegStatus(const RPacketService::TRegistrationStatus, const TInt)
voidCompleteMaxMonitoredServicesChange(TInt)
voidCompleteNetworkModeChange(CMmDataPackage *)
voidCompleteNotifyChangeOfNtwkRegStatus(const RPacketService::TRegistrationStatus)
voidCompleteNotifyChangeOfNtwkRegStatus(CMmDataPackage *, TInt)
voidCompleteNotifyContextActivationRequested(CMmDataPackage *)
voidCompleteNotifyContextAdded(CMmDataPackage *)
voidCompleteNotifyDynamicCapsChange(const RPacketService::TDynamicCapsFlags)
voidCompleteNotifyEGprsInfoChange(CMmDataPackage *)
voidCompleteNotifyMSClassChange(CMmDataPackage *)
voidCompleteNotifyMbmsNetworkServiceStatusChange(CMmDataPackage *, TInt)
voidCompleteNotifyMbmsServiceAvailabilityChangeL(CMmDataPackage *, TInt)
voidCompleteNotifyStatusChange(const RPacketService::TStatus &, TInt)
voidCompletePacketStatusChanged(CMmDataPackage *, TInt)
voidCompleteRejectActivationRequest()
voidCompleteSetAlwaysOn(TInt)
voidCompleteSetAttachMode(const TInt)
voidCompleteSetDefaultContextParams(TInt)
voidCompleteSetPreferredBearer(const TInt)
voidCompleteUpdateMbmsMonitorServiceList(CMmDataPackage *, const TInt)
voidContextStatusChanged(const RPacketContext::TContextStatus)
CMmPacketContextTsy *ContextTsy(TInfoName &)
CMmCustomTsy *CustomTsy()
TInt DeregisterNotification(const TInt)
TInt DetachL()
CMmPacketContextTsy *DialUpContext(const TInfoName)
TInt EnumerateContexts(TInt *const , TInt *const )
TInt EnumerateContextsInNif(TDesC *, TInt *)
TInt EnumerateMbmsActiveServiceList(TInt &, TInt &)
TInt EnumerateMbmsActiveServices()
TInt EnumerateMonitorServiceList(TInt &, TInt &)
TInt EnumerateNifs(TInt *)
TInt ExtFunc(const TTsyReqHandle, const TInt, const TDataPackage &)
TInt GetAttachModeL(RPacketService::TAttachMode *const )
TInt GetContextInfo(const TInt *const , RPacketService::TContextInfo *const )
TInt GetContextNameInNif(RPacketService::TContextNameInNif *, TDes *)
TInt GetDefaultContextParams(TPacketDataConfigBase *)
TInt GetDynamicCaps(RPacketService::TDynamicCapsFlags *const )
TInt GetMSClass(RPacketService::TMSClass *const , RPacketService::TMSClass *const )
TInt GetMbmsMonitoredServicesPhase1L(RMobilePhone::TClientId *, TUint &)
TInt GetMbmsMonitoredServicesPhase2(RMobilePhone::TClientId *, TDes8 *)
TInt GetMbmsNetworkServiceStatus(TBool, TMbmsNetworkServiceStatus *)
TInt GetNifInfo(TInt *, RPacketService::TNifInfoV2 *)
TInt GetNtwkRegStatusL(RPacketService::TRegistrationStatus *const )
TInt GetPreferredBearer(RPacketService::TPreferredBearer *const )
TInt GetSizeOfMonitoredServiceListL(RMobilePhone::TClientId *, TUint &)
TInt GetStaticCaps(TUint *const , const RPacketContext::TProtocolType *const )
TInt GetStatus(RPacketService::TStatus *const )
RHandleBase *GlobalKernelObjectHandle()
voidInit()
TInt IsActivationAllowed()
CMmMBMSContextList *MBMSContextList()
TInt MaximumActiveServices()
CMmMessageManagerBase *MessageManager()
CMmPacketServiceTsy *NewL(CMmPhoneTsy *const , CMmMessageManagerBase *const , MLtsyFactoryBase *)
TInt NotifyChangeOfNtwkRegStatus(RPacketService::TRegistrationStatus *const )
TInt NotifyContextActivationRequested(TPacketDataConfigBase *const )
TInt NotifyContextAdded(const TDataPackage &)
TInt NotifyDynamicCapsChange(RPacketService::TDynamicCapsFlags *const )
TInt NotifyMSClassChange(RPacketService::TMSClass *const )
TInt NotifyMbmsNetworkServiceStatusChange(TMbmsNetworkServiceStatus *)
TInt NotifyMbmsServiceAvailabilityChange()
TInt NotifyStatusChange(RPacketService::TStatus *const )
TInt NumberOfSlotsL(const TInt)
CTelObject *OpenNewObjectByNameL(const TDesC &)
CTelObject *OpenNewObjectL(TDes &)
CMmPacketContextList *PacketContextList()
CMmPhoneTsy *PhoneTsy()
voidPreferredBearerChanged(CMmDataPackage *)
TInt PrepareOpenSecondary(TDes16 *)
CMmPacketQoSTsy *QosTsy(TInfoName)
TInt RegisterNotification(const TInt)
TInt RejectActivationRequestL()
CTelObject::TReqModeReqModeL(const TInt)
voidResetPointerToDialUpContext(const TInfoName)
RPacketService::TStatus ServiceStatus()
TInt SetAlwaysOnL(TTsyReqHandle, RMmCustomAPI::TSetAlwaysOnMode)
TInt SetAttachModeL(const RPacketService::TAttachMode *)
TInt SetDefaultContextParamsL(const TDataPackage &)
TInt SetPreferredBearerL(const TDataPackage &)
CMmTsyReqHandleStore *TsyReqHandleStore()
TInt UpdateMbmsMonitorServiceListL(TMbmsAction, TDes8 *)
Private Member Functions
CMmPacketServiceTsy()
voidComplete(const TInt, const TInt)
voidConstructL(MLtsyFactoryBase *)
TInt DoExtFuncL(const TInt, const TDataPackage &)
TInt GetMbmsMonitoredServicesCancel(TTsyReqHandle)
voidInitModulesL(MLtsyFactoryBase *)
voidInitStoresAndListsL()
TBool IsContextStatusActive(const RPacketContext::TContextStatus)
voidSetTypeOfResponse(const TInt)
voidUpdateAttachedPacketStatus(const TBool)
TInt UpdateMbmsMonitorServiceListCancel(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::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::ReqCompleted(const TTsyReqHandle,const TInt)
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
enumTPacketServiceRequestTypes {
EMultimodePacketServiceReqHandleUnknown, EMultimodePacketServiceAttach, EMultimodePacketServiceDetach, EMultimodePacketServiceGetNtwkRegStatus, EMultimodePacketServiceNotifyNtwkRegStatusChange, EMultimodePacketServiceNotifyContextActivationRequested, EMultimodePacketServiceNotifyContextAdded, EMultimodePacketServiceNotifyDynamicCapsChange, EMultimodePacketServiceNotifyMSClassChange, EMultimodePacketServiceNotifyStatusChange, EMultimodePacketServiceSetPreferredBearer, EMultimodePacketServiceSetAttachMode, EMultimodePacketServiceRejectActivationRequest, EMultimodePacketServiceGetAttachMode, EMultimodePacketServiceSetDefaultContextParams, EMultimodePacketServiceGetDefaultContextParams, EMultimodePacketServiceNotifyContextActivationRequested99, EMultimodePacketSetAlwaysOn, EMultimodePacketServiceNotifyMBMSStatusChange, EMultimodePacketServiceGetMBMSStatus, EMultimodePacketServiceNotifyMbmsServiceAvailabilityChange, EMultimodePacketServiceEnumerateMbmsActiveServices, EMultimodePacketServiceUpdateMBMSMonitorServiceList, EMultimodePacketServiceNotifyContextActivationRequested5, ENumOfMultimodePacketServiceRequests
}
Private Attributes
TMbmsAction iActionType
RPacketService::TAttachMode iAttachMode
RMobilePhone::TMobilePhoneNetworkMode iCurrentMode
CMmPacketContextTsy *iDialUpContext
CArrayPtrFlat< CListReadAllAttempt > *iGetMbmsMonitoredServiceLists
TInfoName iHostCID
TMmPacketServiceInternalSavedData iInternalSavedData
CMmMBMSContextList *iMBMSContextList
CMmMBMSMonitoredList *iMBMSMonitoredList
TInt iMaxActiveServices
TInt iMaxMonitoredServices
TBool iMbmsMonitorListMaxNumIsCached
TBool iMbmsStatusCached
TBool iMbmsSupported
CMmMessageManagerBase *iMessageManager
CMmPacketServiceGsmWcdmaExt *iMmPacketServiceGsmWcdmaExt
CMmPhoneTsy *iMmPhone
RMutex iMutex
TMmNotifyDataPointers iNotifyDataPointers
CMmPacketContextList *iPacketContextList
TTsyReqHandle iPacketServiceReqHandles
RPacketService::TRegistrationStatus *iRegistrationStatus
TPacketServiceRequestTypes iReqHandleType
CMmPacketContextTsy *iSecondaryDialUpContext
TBool iSuspended
TMmPacketServiceTemporarySavedData iTemporarySavedData
TTsyReqHandle iTsyReqHandle
CMmTsyReqHandleStore *iTsyReqHandleStore

Constructor & Destructor Documentation

CMmPacketServiceTsy()

CMmPacketServiceTsy()[private]

Default constructor.

~CMmPacketServiceTsy()

~CMmPacketServiceTsy()[virtual]

Default destructor.

Member Functions Documentation

ActivePacketServiceExtension()

CMmPacketServiceGsmWcdmaExt *ActivePacketServiceExtension()[virtual]

Returns a pointer to the active packet service extension.

AttachL()

TInt AttachL()

Starts asynchronous attach request to the network.

CancelService(const TInt, const TTsyReqHandle)

TInt CancelService(const TIntaIpc,
const TTsyReqHandleaTsyReqHandle
)[virtual]

Cancels request defined by aIpc.

Parameters

const TInt aIpc
const TTsyReqHandle aTsyReqHandle

CancelSetAlwaysOn(TTsyReqHandle)

voidCancelSetAlwaysOn(TTsyReqHandleaTsyReqHandle)

Cancels Set Always On

Parameters

TTsyReqHandle aTsyReqHandleTSY reghandle

Complete(const CTelObject *const, const TInt, const TInt)

voidComplete(const CTelObject *const aObject,
const TIntaReqHandleType,
const TIntaError
)[virtual]

Called from MmPhoneTsy when timer expire.

Parameters

const CTelObject *const aObject
const TInt aReqHandleType
const TInt aError

Complete(const TInt, const TInt)

voidComplete(const TIntaReqHandleType,
const TIntaError
)[private]

Calls the needed complete method due timer expiration.

Parameters

const TInt aReqHandleType
const TInt aError

CompleteAttach(const TInt)

voidCompleteAttach(const TIntaError)[virtual]

Completes asynchronous attach request.

Parameters

const TInt aErrorerror value for completion

CompleteDetachL(const TInt)

voidCompleteDetachL(const TIntaError)[virtual]

Completes asynchronous detach request.

Parameters

const TInt aError

CompleteEnumerateMbmsActiveServiceList(CMmDataPackage *, TInt)

voidCompleteEnumerateMbmsActiveServiceList(CMmDataPackage *aDataPackage,
TIntaResult
)

Completes Enumrate active service list

Parameters

CMmDataPackage * aDataPackage
TInt aResult

CompleteGetAttachMode(const RPacketService::TAttachMode, TInt)

voidCompleteGetAttachMode(const RPacketService::TAttachModeaAttachMode,
TIntaResult
)[virtual]

Completes Get GPRS Attach Info operation.

Parameters

const RPacketService::TAttachMode aAttachModeattach mode
TInt aResult

CompleteGetMbmsNetworkServiceStatus(CMmDataPackage *, TInt)

voidCompleteGetMbmsNetworkServiceStatus(CMmDataPackage *aDataPackage,
TIntaError
)

Completes get MBMS network service status request.

Parameters

CMmDataPackage * aDataPackage
TInt aError

CompleteGetNtwkRegStatus(const RPacketService::TRegistrationStatus, const TInt)

voidCompleteGetNtwkRegStatus(const RPacketService::TRegistrationStatusaRegistrationStatus,
const TIntaError
)[virtual]

Completes get network registration status request.

Parameters

const RPacketService::TRegistrationStatus aRegistrationStatus
const TInt aError

CompleteMaxMonitoredServicesChange(TInt)

voidCompleteMaxMonitoredServicesChange(TIntaMaxMonitorValue)[virtual]

Completes max value of monitored services change.

Parameters

TInt aMaxMonitorValue

CompleteNetworkModeChange(CMmDataPackage *)

voidCompleteNetworkModeChange(CMmDataPackage *CDataPackage)[virtual]

Set current network to Service TSY.

Parameters

CMmDataPackage * CDataPackage

CompleteNotifyChangeOfNtwkRegStatus(const RPacketService::TRegistrationStatus)

voidCompleteNotifyChangeOfNtwkRegStatus(const RPacketService::TRegistrationStatusaRegistrationStatus)[virtual]

Completes network registration status notification to client.

Parameters

const RPacketService::TRegistrationStatus aRegistrationStatus

CompleteNotifyChangeOfNtwkRegStatus(CMmDataPackage *, TInt)

voidCompleteNotifyChangeOfNtwkRegStatus(CMmDataPackage *aDataPackage,
TIntaResult
)

Completes network registration status notification to client. Handles request coming from MessHandler

Parameters

CMmDataPackage * aDataPackageincludes request related data
TInt aResultThe result of the notification from the LTSY

CompleteNotifyContextActivationRequested(CMmDataPackage *)

voidCompleteNotifyContextActivationRequested(CMmDataPackage *aDataPackage)[virtual]

Completes context activation requested notification to client.

Parameters

CMmDataPackage * aDataPackage

CompleteNotifyContextAdded(CMmDataPackage *)

voidCompleteNotifyContextAdded(CMmDataPackage *aPackage)[virtual]

Completes the context added notification to client.

Parameters

CMmDataPackage * aPackagecontains parameters for request

CompleteNotifyDynamicCapsChange(const RPacketService::TDynamicCapsFlags)

voidCompleteNotifyDynamicCapsChange(const RPacketService::TDynamicCapsFlagsaCaps)[virtual]

Completes dynamic capabilities change notification to client.

Parameters

const RPacketService::TDynamicCapsFlags aCaps

CompleteNotifyEGprsInfoChange(CMmDataPackage *)

voidCompleteNotifyEGprsInfoChange(CMmDataPackage *aDataPackage)

Routes completion to customtsy

Parameters

CMmDataPackage * aDataPackage

CompleteNotifyMSClassChange(CMmDataPackage *)

voidCompleteNotifyMSClassChange(CMmDataPackage *aDataPackage)[virtual]

Completes mobile station class change notification to client.

Parameters

CMmDataPackage * aDataPackagecontains data used for this notification

CompleteNotifyMbmsNetworkServiceStatusChange(CMmDataPackage *, TInt)

voidCompleteNotifyMbmsNetworkServiceStatusChange(CMmDataPackage *aDataPackage,
TIntaResult
)

Completes Network service status change requested notification to client.

Parameters

CMmDataPackage * aDataPackage
TInt aResult

CompleteNotifyMbmsServiceAvailabilityChangeL(CMmDataPackage *, TInt)

voidCompleteNotifyMbmsServiceAvailabilityChangeL(CMmDataPackage *aDataPackage,
TIntaResult
)

Completes service available status change requested notification to client.

Parameters

CMmDataPackage * aDataPackagea packed list of all the available services, or NULL for empty list
TInt aResultThe result of the notification from the LTSY

CompleteNotifyStatusChange(const RPacketService::TStatus &, TInt)

voidCompleteNotifyStatusChange(const RPacketService::TStatus &aPacketStatus,
TIntaErrorCode
)[virtual]

Completes service status change notification to client.

Parameters

const RPacketService::TStatus & aPacketStatus
TInt aErrorCodecontains error value if packet status changed because of error

CompletePacketStatusChanged(CMmDataPackage *, TInt)

voidCompletePacketStatusChanged(CMmDataPackage *aDataPackage,
TIntaErrorCode
)[virtual]

Parameters

CMmDataPackage * aDataPackage
TInt aErrorCode

CompleteRejectActivationRequest()

voidCompleteRejectActivationRequest()[virtual]

Completes asynchronous reject activation request.

CompleteSetAlwaysOn(TInt)

voidCompleteSetAlwaysOn(TIntaError)

Completes SetAlwaysOn request

Parameters

TInt aErrorerror value from LTSY

CompleteSetAttachMode(const TInt)

voidCompleteSetAttachMode(const TIntaError)[virtual]

Completes the Set Attach Mode request.

Parameters

const TInt aError

CompleteSetDefaultContextParams(TInt)

voidCompleteSetDefaultContextParams(TIntaCause)[virtual]

Completes SetDefaultContextConfiguration request.

Parameters

TInt aCause

CompleteSetPreferredBearer(const TInt)

voidCompleteSetPreferredBearer(const TIntaError)[virtual]

Completes the Set Preferred Bearer request.

Parameters

const TInt aError

CompleteUpdateMbmsMonitorServiceList(CMmDataPackage *, const TInt)

voidCompleteUpdateMbmsMonitorServiceList(CMmDataPackage *aDataPackage,
const TIntaResult
)[virtual]

Completes update monitored list request

Parameters

CMmDataPackage * aDataPackagea packed list of all the monitor entries that failed to update
const TInt aResultthe result of the Update

ConstructL(MLtsyFactoryBase *)

voidConstructL(MLtsyFactoryBase *aFactory)[private]

Initialises object attributes.

Parameters

MLtsyFactoryBase * aFactorypointer to Ltsy factory base

ContextStatusChanged(const RPacketContext::TContextStatus)

voidContextStatusChanged(const RPacketContext::TContextStatusaContextStatus)

Context status has changed from the Service point of view.

Parameters

const RPacketContext::TContextStatus aContextStatus

ContextTsy(TInfoName &)

CMmPacketContextTsy *ContextTsy(TInfoName &contextName)

Returns context by name

Parameters

TInfoName & contextName

CustomTsy()

CMmCustomTsy *CustomTsy()const [virtual]

Returns a pointer to CMmCustomTsy object.

DeregisterNotification(const TInt)

TInt DeregisterNotification(const TIntaIpc)[virtual]

This function unsubscribes given notification from DOS.

Parameters

const TInt aIpc

DetachL()

TInt DetachL()

Starts asynchronous detach request to the network.

DialUpContext(const TInfoName)

CMmPacketContextTsy *DialUpContext(const TInfoNameaContextName)[virtual]

Returns externally created dial-up context.

Parameters

const TInfoName aContextName

DoExtFuncL(const TInt, const TDataPackage &)

TInt DoExtFuncL(const TIntaIpc,
const TDataPackage &aPackage
)[private]

Calls correct method to handle ETel server request.

Parameters

const TInt aIpc
const TDataPackage & aPackage

EnumerateContexts(TInt *const, TInt *const)

TInt EnumerateContexts(TInt *const aCount,
TInt *const aMaxAllowed
)

Enumerates contexts and completes.

Parameters

TInt *const aCount
TInt *const aMaxAllowed

EnumerateContextsInNif(TDesC *, TInt *)

TInt EnumerateContextsInNif(TDesC *aExistingContextName,
TInt *aCount
)

Number of contexts in network interface.

Parameters

TDesC * aExistingContextName
TInt * aCount

EnumerateMbmsActiveServiceList(TInt &, TInt &)

TInt EnumerateMbmsActiveServiceList(TInt &aCount,
TInt &aMaxAllowed
)

Returns the number of Mbms active service list and the maximum possible number of active service list

Parameters

TInt & aCountThe number of Mbms active service list [out]
TInt & aMaxAllowedThe maximum number of active service lists [out]

EnumerateMbmsActiveServices()

TInt EnumerateMbmsActiveServices()

Enumerates all active services

EnumerateMonitorServiceList(TInt &, TInt &)

TInt EnumerateMonitorServiceList(TInt &aCount,
TInt &aMaxAllowed
)

Enumrates monitored service list

Parameters

TInt & aCountActual number of monitored services is list
TInt & aMaxAllowed

EnumerateNifs(TInt *)

TInt EnumerateNifs(TInt *aCount)

Enumerate network interfaces.

Parameters

TInt * aCount

ExtFunc(const TTsyReqHandle, const TInt, const TDataPackage &)

TInt ExtFunc(const TTsyReqHandleaTsyReqHandle,
const TIntaIpc,
const TDataPackage &aPackage
)[virtual]

ExtFunc is called by the ETel when it has request for the TSY.

Parameters

const TTsyReqHandle aTsyReqHandle
const TInt aIpc
const TDataPackage & aPackage

GetAttachModeL(RPacketService::TAttachMode *const)

TInt GetAttachModeL(RPacketService::TAttachMode *const aMode)

Returns current mode of the GPRS Attach operation.

Parameters

RPacketService::TAttachMode *const aModeattach mode

GetContextInfo(const TInt *const, RPacketService::TContextInfo *const)

TInt GetContextInfo(const TInt *const aIndex,
RPacketService::TContextInfo *const aInfo
)

Gets Context info of the context defined by aIndex.

Parameters

const TInt *const aIndex
RPacketService::TContextInfo *const aInfo

GetContextNameInNif(RPacketService::TContextNameInNif *, TDes *)

TInt GetContextNameInNif(RPacketService::TContextNameInNif *aContextNameInNif,
TDes *aContextName
)

Get name of context in network interface.

Parameters

RPacketService::TContextNameInNif * aContextNameInNif
TDes * aContextName

GetDefaultContextParams(TPacketDataConfigBase *)

TInt GetDefaultContextParams(TPacketDataConfigBase *aContextConfig)

Get context default parameters.

Parameters

TPacketDataConfigBase * aContextConfig

GetDynamicCaps(RPacketService::TDynamicCapsFlags *const)

TInt GetDynamicCaps(RPacketService::TDynamicCapsFlags *const aCaps)

Gets the dynamic capabilities of the phone.

Parameters

RPacketService::TDynamicCapsFlags *const aCaps

GetMSClass(RPacketService::TMSClass *const, RPacketService::TMSClass *const)

TInt GetMSClass(RPacketService::TMSClass *const aCurrentClass,
RPacketService::TMSClass *const aMaxClass
)

Gets current and maximum value of the Mobile Station Class.

Parameters

RPacketService::TMSClass *const aCurrentClass
RPacketService::TMSClass *const aMaxClass

GetMbmsMonitoredServicesCancel(TTsyReqHandle)

TInt GetMbmsMonitoredServicesCancel(TTsyReqHandleaTsyReqHandle)[private]

Cancel the Get Mbms Monitored Services

Parameters

TTsyReqHandle aTsyReqHandlethe TSY request handle

GetMbmsMonitoredServicesPhase1L(RMobilePhone::TClientId *, TUint &)

TInt GetMbmsMonitoredServicesPhase1L(RMobilePhone::TClientId *aClient,
TUint &aBufSize
)

Requests size of the monitored service list.

Parameters

RMobilePhone::TClientId * aClienta pointer to the client ID
TUint & aBufSizeThe return buffer size

GetMbmsMonitoredServicesPhase2(RMobilePhone::TClientId *, TDes8 *)

TInt GetMbmsMonitoredServicesPhase2(RMobilePhone::TClientId *aClient,
TDes8 *aBuf
)

Requests the monitored service list.

Parameters

RMobilePhone::TClientId * aClient
TDes8 * aBuf

GetMbmsNetworkServiceStatus(TBool, TMbmsNetworkServiceStatus *)

TInt GetMbmsNetworkServiceStatus(TBoolaAttemptAttach,
TMbmsNetworkServiceStatus *aMBMSServiceStatus
)

Returns current status of MBMS Network Service.

Parameters

TBool aAttemptAttacha boolean to state whether the mbms should attemt to attach the service
TMbmsNetworkServiceStatus * aMBMSServiceStatuspointer to a client object to return the MBMS network service status

GetNifInfo(TInt *, RPacketService::TNifInfoV2 *)

TInt GetNifInfo(TInt *aIndex,
RPacketService::TNifInfoV2 *aNifInfoV2
)

Get network interface information.

Parameters

TInt * aIndex
RPacketService::TNifInfoV2 * aNifInfoV2

GetNtwkRegStatusL(RPacketService::TRegistrationStatus *const)

TInt GetNtwkRegStatusL(RPacketService::TRegistrationStatus *const aRegistrationStatus)

Gets network registration status.

Parameters

RPacketService::TRegistrationStatus *const aRegistrationStatus

GetPreferredBearer(RPacketService::TPreferredBearer *const)

TInt GetPreferredBearer(RPacketService::TPreferredBearer *const aBearer)

Returns preferred bearer.

Parameters

RPacketService::TPreferredBearer *const aBearer

GetSizeOfMonitoredServiceListL(RMobilePhone::TClientId *, TUint &)

TInt GetSizeOfMonitoredServiceListL(RMobilePhone::TClientId *aClient,
TUint &aBufSize
)

Get size of monitored service list

Parameters

RMobilePhone::TClientId * aClient
TUint & aBufSize

GetStaticCaps(TUint *const, const RPacketContext::TProtocolType *const)

TInt GetStaticCaps(TUint *const aCaps,
const RPacketContext::TProtocolType *const aPdpType
)

Retrieves those capabilities of the TSY that are constant.

Parameters

TUint *const aCaps
const RPacketContext::TProtocolType *const aPdpType

GetStatus(RPacketService::TStatus *const)

TInt GetStatus(RPacketService::TStatus *const aPacketStatus)

Returns current status of the packet service.

Parameters

RPacketService::TStatus *const aPacketStatus

GlobalKernelObjectHandle()

RHandleBase *GlobalKernelObjectHandle()[virtual]

Init()

voidInit()[virtual]

Initialisation method that is called from ETel Server.

InitModulesL(MLtsyFactoryBase *)

voidInitModulesL(MLtsyFactoryBase *aFactory)[private]

Initialises extension modules for CMmPacketServiceTsy.

Parameters

MLtsyFactoryBase * aFactorypointer to Ltsy factory base

InitStoresAndListsL()

voidInitStoresAndListsL()[private]

Initialises needed stores and lists.

IsActivationAllowed()

TInt IsActivationAllowed()

Is activation of context allowed

IsContextStatusActive(const RPacketContext::TContextStatus)

TBool IsContextStatusActive(const RPacketContext::TContextStatusaContextStatus)const [private]

Checks if context status is active from service point of view.

Parameters

const RPacketContext::TContextStatus aContextStatus

MBMSContextList()

CMmMBMSContextList *MBMSContextList()[virtual]

Returns MBMS context list

MaximumActiveServices()

TInt MaximumActiveServices()

Return maximum number of active services allowed

MessageManager()

CMmMessageManagerBase *MessageManager()[virtual]

Returns pointer to CMmMessagemanagerBase.

NewL(CMmPhoneTsy *const, CMmMessageManagerBase *const, MLtsyFactoryBase *)

CMmPacketServiceTsy *NewL(CMmPhoneTsy *const aMmPhone,
CMmMessageManagerBase *const aMessageManager,
MLtsyFactoryBase *aFactory
)[static]

Two-phased constructor.

Parameters

CMmPhoneTsy *const aMmPhonepointer to PhoneTsy
CMmMessageManagerBase *const aMessageManagerpointer to Messagemanager
MLtsyFactoryBase * aFactorypointer to Ltsy factory base

NotifyChangeOfNtwkRegStatus(RPacketService::TRegistrationStatus *const)

TInt NotifyChangeOfNtwkRegStatus(RPacketService::TRegistrationStatus *const aRegistrationStatus)

Requests notification of network registration status change.

Parameters

RPacketService::TRegistrationStatus *const aRegistrationStatus

NotifyContextActivationRequested(TPacketDataConfigBase *const)

TInt NotifyContextActivationRequested(TPacketDataConfigBase *const aContextParameters)

Requests notification of network requests context activation.

Parameters

TPacketDataConfigBase *const aContextParameters

NotifyContextAdded(const TDataPackage &)

TInt NotifyContextAdded(const TDataPackage &aPackage)

Requests notification of context has been added.

Parameters

const TDataPackage & aPackage

NotifyDynamicCapsChange(RPacketService::TDynamicCapsFlags *const)

TInt NotifyDynamicCapsChange(RPacketService::TDynamicCapsFlags *const aCaps)

Requests notification of dynamic capabilities change.

Parameters

RPacketService::TDynamicCapsFlags *const aCaps

NotifyMSClassChange(RPacketService::TMSClass *const)

TInt NotifyMSClassChange(RPacketService::TMSClass *const aNewClass)

Requests notification of mobile station class change.

Parameters

RPacketService::TMSClass *const aNewClass

NotifyMbmsNetworkServiceStatusChange(TMbmsNetworkServiceStatus *)

TInt NotifyMbmsNetworkServiceStatusChange(TMbmsNetworkServiceStatus *aMBMSServiceStatus)

Requests notification of network service status change.

Parameters

TMbmsNetworkServiceStatus * aMBMSServiceStatus

NotifyMbmsServiceAvailabilityChange()

TInt NotifyMbmsServiceAvailabilityChange()

Requests notification of mbms service availability list change.

NotifyStatusChange(RPacketService::TStatus *const)

TInt NotifyStatusChange(RPacketService::TStatus *const aPacketStatus)

Informs client that service status change.

Parameters

RPacketService::TStatus *const aPacketStatus

NumberOfSlotsL(const TInt)

TInt NumberOfSlotsL(const TIntaIpc)[virtual]

Returns number of slots to be used for given IPC.

Parameters

const TInt aIpc

OpenNewObjectByNameL(const TDesC &)

CTelObject *OpenNewObjectByNameL(const TDesC &aName)[virtual]

Returns context object defined in parameter aName.

Parameters

const TDesC & aName

OpenNewObjectL(TDes &)

CTelObject *OpenNewObjectL(TDes &aNewName)[virtual]

Creates new Context object and returns a pointer to it.

Parameters

TDes & aNewName

PacketContextList()

CMmPacketContextList *PacketContextList()[virtual]

Returns a pointer to the packet context list.

PhoneTsy()

CMmPhoneTsy *PhoneTsy()

Returns a pointer to CMmPhoneTsy object.

PreferredBearerChanged(CMmDataPackage *)

voidPreferredBearerChanged(CMmDataPackage *aPackage)[virtual]

Completes preferred bearer change.

Parameters

CMmDataPackage * aPackageincludes request related data

PrepareOpenSecondary(TDes16 *)

TInt PrepareOpenSecondary(TDes16 *aPrimaryContextName)

Next created Context will be secondary, gives primary context name

Parameters

TDes16 * aPrimaryContextName

QosTsy(TInfoName)

CMmPacketQoSTsy *QosTsy(TInfoNameaMmPacketContextName)

Returns pointer to right Qos

Parameters

TInfoName aMmPacketContextName

RegisterNotification(const TInt)

TInt RegisterNotification(const TIntaIpc)[virtual]

This function subscribes given notification from DOS.

Parameters

const TInt aIpc

RejectActivationRequestL()

TInt RejectActivationRequestL()

Reject activation request from the network.

ReqModeL(const TInt)

CTelObject::TReqModeReqModeL(const TIntaIpc)[virtual]

Returns request mode for given IPC.

Parameters

const TInt aIpc

ResetPointerToDialUpContext(const TInfoName)

voidResetPointerToDialUpContext(const TInfoNameaContextName)

Resets pointer to dial-up context.

Parameters

const TInfoName aContextName

ServiceStatus()

RPacketService::TStatus ServiceStatus()const [virtual]

Returns current status of Packet Service.

SetAlwaysOnL(TTsyReqHandle, RMmCustomAPI::TSetAlwaysOnMode)

TInt SetAlwaysOnL(TTsyReqHandleaTsyReqHandle,
RMmCustomAPI::TSetAlwaysOnModeaMode
)

Request Set Always On

Parameters

TTsyReqHandle aTsyReqHandleTSY ReqHandle
RMmCustomAPI::TSetAlwaysOnMode aModerequested mode

SetAttachModeL(const RPacketService::TAttachMode *)

TInt SetAttachModeL(const RPacketService::TAttachMode *aMode)

Parameters

const RPacketService::TAttachMode * aMode

SetDefaultContextParamsL(const TDataPackage &)

TInt SetDefaultContextParamsL(const TDataPackage &aPackage)

Set default parameters to context.

Parameters

const TDataPackage & aPackage

SetPreferredBearerL(const TDataPackage &)

TInt SetPreferredBearerL(const TDataPackage &aPackage)

Sets preferred bearer given in parameter to the server.

Parameters

const TDataPackage & aPackage

SetTypeOfResponse(const TInt)

voidSetTypeOfResponse(const TIntaReqHandleType)[private]

Chooses the type of response, automatic or common.

Parameters

const TInt aReqHandleType

TsyReqHandleStore()

CMmTsyReqHandleStore *TsyReqHandleStore()[virtual]

Returns a pointer to the tsy request handle store.

UpdateAttachedPacketStatus(const TBool)

voidUpdateAttachedPacketStatus(const TBoolaIsActiveContext)[private]

Sets and completes attached packet status if needed.

Parameters

const TBool aIsActiveContext

UpdateMbmsMonitorServiceListCancel(TTsyReqHandle)

TInt UpdateMbmsMonitorServiceListCancel(TTsyReqHandleaTsyReqHandle)[private]

Cancel the Update Mbms Monitor Service List

Parameters

TTsyReqHandle aTsyReqHandlethe TSY request handle

UpdateMbmsMonitorServiceListL(TMbmsAction, TDes8 *)

TInt UpdateMbmsMonitorServiceListL(TMbmsActionaAction,
TDes8 *aList
)

Request to update monitored service list.

Parameters

TMbmsAction aActionAction to make changes (add/remove or remove all)
TDes8 * aListA descriptor that holds the list of monitored services to update, or NULL for an empty list

Member Enumerations Documentation

Enum TPacketServiceRequestTypes

Enumerators

EMultimodePacketServiceReqHandleUnknown
EMultimodePacketServiceAttach
EMultimodePacketServiceDetach
EMultimodePacketServiceGetNtwkRegStatus
EMultimodePacketServiceNotifyNtwkRegStatusChange
EMultimodePacketServiceNotifyContextActivationRequested
EMultimodePacketServiceNotifyContextAdded
EMultimodePacketServiceNotifyDynamicCapsChange
EMultimodePacketServiceNotifyMSClassChange
EMultimodePacketServiceNotifyStatusChange
EMultimodePacketServiceSetPreferredBearer
EMultimodePacketServiceSetAttachMode
EMultimodePacketServiceRejectActivationRequest
EMultimodePacketServiceGetAttachMode
EMultimodePacketServiceSetDefaultContextParams
EMultimodePacketServiceGetDefaultContextParams
EMultimodePacketServiceNotifyContextActivationRequested99
EMultimodePacketSetAlwaysOn
EMultimodePacketServiceNotifyMBMSStatusChange
EMultimodePacketServiceGetMBMSStatus
EMultimodePacketServiceNotifyMbmsServiceAvailabilityChange
EMultimodePacketServiceEnumerateMbmsActiveServices
EMultimodePacketServiceUpdateMBMSMonitorServiceList
EMultimodePacketServiceNotifyContextActivationRequested5
ENumOfMultimodePacketServiceRequests

Member Data Documentation

TMbmsAction iActionType

TMbmsAction iActionType[private]

Action type of Update MBMS Monitored Service List

RPacketService::TAttachMode iAttachMode

RPacketService::TAttachMode iAttachMode[private]

Current attach mode

RMobilePhone::TMobilePhoneNetworkMode iCurrentMode

RMobilePhone::TMobilePhoneNetworkMode iCurrentMode[private]

Current network mode

CMmPacketContextTsy * iDialUpContext

CMmPacketContextTsy *iDialUpContext[private]

A pointer to the externally created dial-up context Own.

CArrayPtrFlat< CListReadAllAttempt > * iGetMbmsMonitoredServiceLists

CArrayPtrFlat< CListReadAllAttempt > *iGetMbmsMonitoredServiceLists[private]

Read all entries

TInfoName iHostCID

TInfoName iHostCID[private]

Primary Context Name

TMmPacketServiceInternalSavedData iInternalSavedData

TMmPacketServiceInternalSavedData iInternalSavedData[private]

Structure contains data that must be saved in Packet Service

CMmMBMSContextList * iMBMSContextList

CMmMBMSContextList *iMBMSContextList[private]

MBMS context object

CMmMBMSMonitoredList * iMBMSMonitoredList

CMmMBMSMonitoredList *iMBMSMonitoredList[private]

MBMS monitorted service list

TInt iMaxActiveServices

TInt iMaxActiveServices[private]

Maximum number of active services (= max number of contexts)

TInt iMaxMonitoredServices

TInt iMaxMonitoredServices[private]

Maximum number of monitored service lists

TBool iMbmsMonitorListMaxNumIsCached

TBool iMbmsMonitorListMaxNumIsCached[private]

indicator of MBMS monitorlist max value cache

TBool iMbmsStatusCached

TBool iMbmsStatusCached[private]

indicator of MBMS network service status cache

TBool iMbmsSupported

TBool iMbmsSupported[private]

Boolean to indicate MBMS support

CMmMessageManagerBase * iMessageManager

CMmMessageManagerBase *iMessageManager[private]

Pointer to CMmMessageManagerBase Not own.

CMmPacketServiceGsmWcdmaExt * iMmPacketServiceGsmWcdmaExt

CMmPacketServiceGsmWcdmaExt *iMmPacketServiceGsmWcdmaExt[private]

A pointer to the Gsm/Wcdma spesific packet service extension Own.

CMmPhoneTsy * iMmPhone

CMmPhoneTsy *iMmPhone[private]

A pointer to the Phone TSY Not own.

RMutex iMutex

RMutex iMutex[private]

Unnamed mutex object owned by TSY

TMmNotifyDataPointers iNotifyDataPointers

TMmNotifyDataPointers iNotifyDataPointers[private]

Structure contains notify related data pointers

CMmPacketContextList * iPacketContextList

CMmPacketContextList *iPacketContextList[private]

Pointer to the packet context list Own.

TTsyReqHandle iPacketServiceReqHandles

TTsyReqHandle iPacketServiceReqHandles[private]

A table for packet service request handles

RPacketService::TRegistrationStatus * iRegistrationStatus

RPacketService::TRegistrationStatus *iRegistrationStatus[private]

Pointer to the TRegistrationStatus enum defined in Packet Data API Not Own.

TPacketServiceRequestTypes iReqHandleType

TPacketServiceRequestTypes iReqHandleType[private]

Packet Service Request Handle Type

CMmPacketContextTsy * iSecondaryDialUpContext

CMmPacketContextTsy *iSecondaryDialUpContext[private]

A pointer to the externally created dial-up context Own.

TBool iSuspended

TBool iSuspended[private]

True if service is suspended, otherwise false

TMmPacketServiceTemporarySavedData iTemporarySavedData

TMmPacketServiceTemporarySavedData iTemporarySavedData[private]

Structure contains temporary saved data in Packet Service

TTsyReqHandle iTsyReqHandle

TTsyReqHandle iTsyReqHandle[private]

TSY request handle

CMmTsyReqHandleStore * iTsyReqHandleStore

CMmTsyReqHandleStore *iTsyReqHandleStore[private]

Pointer to the request handle store Own.