CMmPacketServiceTsy Class Reference

class CMmPacketServiceTsy : public CSubSessionExtBase

CMmPacketServiceTsy contains GPRS service related functionality.

Public Member Functions
~CMmPacketServiceTsy ()
CMmPacketServiceGsmWcdmaExt * ActivePacketServiceExtension ()
TInt AttachL ()
TInt CancelService (const TInt , const TTsyReqHandle )
void CancelSetAlwaysOn ( TTsyReqHandle )
void Complete (const CTelObject *const , const TInt , const TInt )
void CompleteAttach (const TInt )
void CompleteDetachL (const TInt )
void CompleteEnumerateMbmsActiveServiceList ( CMmDataPackage *, TInt )
void CompleteGetAttachMode (const RPacketService::TAttachMode , TInt )
void CompleteGetMbmsNetworkServiceStatus ( CMmDataPackage *, TInt )
void CompleteGetNtwkRegStatus (const RPacketService::TRegistrationStatus , const TInt )
void CompleteMaxMonitoredServicesChange ( TInt )
void CompleteNetworkModeChange ( CMmDataPackage *)
void CompleteNotifyChangeOfNtwkRegStatus (const RPacketService::TRegistrationStatus )
void CompleteNotifyChangeOfNtwkRegStatus ( CMmDataPackage *, TInt )
void CompleteNotifyContextActivationRequested ( CMmDataPackage *)
void CompleteNotifyContextAdded ( CMmDataPackage *)
void CompleteNotifyDynamicCapsChange (const RPacketService::TDynamicCapsFlags )
void CompleteNotifyEGprsInfoChange ( CMmDataPackage *)
void CompleteNotifyMSClassChange ( CMmDataPackage *)
void CompleteNotifyMbmsNetworkServiceStatusChange ( CMmDataPackage *, TInt )
void CompleteNotifyMbmsServiceAvailabilityChangeL ( CMmDataPackage *, TInt )
void CompleteNotifyStatusChange (const RPacketService::TStatus &, TInt )
void CompletePacketStatusChanged ( CMmDataPackage *, TInt )
void CompleteRejectActivationRequest ()
void CompleteSetAlwaysOn ( TInt )
void CompleteSetAttachMode (const TInt )
void CompleteSetDefaultContextParams ( TInt )
void CompleteSetPreferredBearer (const TInt )
void CompleteUpdateMbmsMonitorServiceList ( CMmDataPackage *, const TInt )
void ContextStatusChanged (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 ()
void Init ()
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 ()
void PreferredBearerChanged ( CMmDataPackage *)
TInt PrepareOpenSecondary ( TDes16 *)
CMmPacketQoSTsy * QosTsy ( TInfoName )
TInt RegisterNotification (const TInt )
TInt RejectActivationRequestL ()
CTelObject::TReqMode ReqModeL (const TInt )
void ResetPointerToDialUpContext (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 ()
void Complete (const TInt , const TInt )
void ConstructL ( MLtsyFactoryBase *)
TInt DoExtFuncL (const TInt , const TDataPackage &)
TInt GetMbmsMonitoredServicesCancel ( TTsyReqHandle )
void InitModulesL ( MLtsyFactoryBase *)
void InitStoresAndListsL ()
TBool IsContextStatusActive (const RPacketContext::TContextStatus )
void SetTypeOfResponse (const TInt )
void UpdateAttachedPacketStatus (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
enum TPacketServiceRequestTypes {
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 TInt aIpc,
const TTsyReqHandle aTsyReqHandle
) [virtual]

Cancels request defined by aIpc.

Parameters

const TInt aIpc
const TTsyReqHandle aTsyReqHandle

CancelSetAlwaysOn(TTsyReqHandle)

void CancelSetAlwaysOn ( TTsyReqHandle aTsyReqHandle )

Cancels Set Always On

Parameters

TTsyReqHandle aTsyReqHandle TSY reghandle

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

void Complete ( const CTelObject *const aObject,
const TInt aReqHandleType,
const TInt aError
) [virtual]

Called from MmPhoneTsy when timer expire.

Parameters

const CTelObject *const aObject
const TInt aReqHandleType
const TInt aError

Complete(const TInt, const TInt)

void Complete ( const TInt aReqHandleType,
const TInt aError
) [private]

Calls the needed complete method due timer expiration.

Parameters

const TInt aReqHandleType
const TInt aError

CompleteAttach(const TInt)

void CompleteAttach ( const TInt aError ) [virtual]

Completes asynchronous attach request.

Parameters

const TInt aError error value for completion

CompleteDetachL(const TInt)

void CompleteDetachL ( const TInt aError ) [virtual]

Completes asynchronous detach request.

Parameters

const TInt aError

CompleteEnumerateMbmsActiveServiceList(CMmDataPackage *, TInt)

void CompleteEnumerateMbmsActiveServiceList ( CMmDataPackage * aDataPackage,
TInt aResult
)

Completes Enumrate active service list

Parameters

CMmDataPackage * aDataPackage
TInt aResult

CompleteGetAttachMode(const RPacketService::TAttachMode, TInt)

void CompleteGetAttachMode ( const RPacketService::TAttachMode aAttachMode,
TInt aResult
) [virtual]

Completes Get GPRS Attach Info operation.

Parameters

const RPacketService::TAttachMode aAttachMode attach mode
TInt aResult

CompleteGetMbmsNetworkServiceStatus(CMmDataPackage *, TInt)

void CompleteGetMbmsNetworkServiceStatus ( CMmDataPackage * aDataPackage,
TInt aError
)

Completes get MBMS network service status request.

Parameters

CMmDataPackage * aDataPackage
TInt aError

CompleteGetNtwkRegStatus(const RPacketService::TRegistrationStatus, const TInt)

void CompleteGetNtwkRegStatus ( const RPacketService::TRegistrationStatus aRegistrationStatus,
const TInt aError
) [virtual]

Completes get network registration status request.

Parameters

const RPacketService::TRegistrationStatus aRegistrationStatus
const TInt aError

CompleteMaxMonitoredServicesChange(TInt)

void CompleteMaxMonitoredServicesChange ( TInt aMaxMonitorValue ) [virtual]

Completes max value of monitored services change.

Parameters

TInt aMaxMonitorValue

CompleteNetworkModeChange(CMmDataPackage *)

void CompleteNetworkModeChange ( CMmDataPackage * CDataPackage ) [virtual]

Set current network to Service TSY.

Parameters

CMmDataPackage * CDataPackage

CompleteNotifyChangeOfNtwkRegStatus(const RPacketService::TRegistrationStatus)

void CompleteNotifyChangeOfNtwkRegStatus ( const RPacketService::TRegistrationStatus aRegistrationStatus ) [virtual]

Completes network registration status notification to client.

Parameters

const RPacketService::TRegistrationStatus aRegistrationStatus

CompleteNotifyChangeOfNtwkRegStatus(CMmDataPackage *, TInt)

void CompleteNotifyChangeOfNtwkRegStatus ( CMmDataPackage * aDataPackage,
TInt aResult
)

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

Parameters

CMmDataPackage * aDataPackage includes request related data
TInt aResult The result of the notification from the LTSY

CompleteNotifyContextActivationRequested(CMmDataPackage *)

void CompleteNotifyContextActivationRequested ( CMmDataPackage * aDataPackage ) [virtual]

Completes context activation requested notification to client.

Parameters

CMmDataPackage * aDataPackage

CompleteNotifyContextAdded(CMmDataPackage *)

void CompleteNotifyContextAdded ( CMmDataPackage * aPackage ) [virtual]

Completes the context added notification to client.

Parameters

CMmDataPackage * aPackage contains parameters for request

CompleteNotifyDynamicCapsChange(const RPacketService::TDynamicCapsFlags)

void CompleteNotifyDynamicCapsChange ( const RPacketService::TDynamicCapsFlags aCaps ) [virtual]

Completes dynamic capabilities change notification to client.

CompleteNotifyEGprsInfoChange(CMmDataPackage *)

void CompleteNotifyEGprsInfoChange ( CMmDataPackage * aDataPackage )

Routes completion to customtsy

Parameters

CMmDataPackage * aDataPackage

CompleteNotifyMSClassChange(CMmDataPackage *)

void CompleteNotifyMSClassChange ( CMmDataPackage * aDataPackage ) [virtual]

Completes mobile station class change notification to client.

Parameters

CMmDataPackage * aDataPackage contains data used for this notification

CompleteNotifyMbmsNetworkServiceStatusChange(CMmDataPackage *, TInt)

void CompleteNotifyMbmsNetworkServiceStatusChange ( CMmDataPackage * aDataPackage,
TInt aResult
)

Completes Network service status change requested notification to client.

Parameters

CMmDataPackage * aDataPackage
TInt aResult

CompleteNotifyMbmsServiceAvailabilityChangeL(CMmDataPackage *, TInt)

void CompleteNotifyMbmsServiceAvailabilityChangeL ( CMmDataPackage * aDataPackage,
TInt aResult
)

Completes service available status change requested notification to client.

Parameters

CMmDataPackage * aDataPackage a packed list of all the available services, or NULL for empty list
TInt aResult The result of the notification from the LTSY

CompleteNotifyStatusChange(const RPacketService::TStatus &, TInt)

void CompleteNotifyStatusChange ( const RPacketService::TStatus & aPacketStatus,
TInt aErrorCode
) [virtual]

Completes service status change notification to client.

Parameters

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

CompletePacketStatusChanged(CMmDataPackage *, TInt)

void CompletePacketStatusChanged ( CMmDataPackage * aDataPackage,
TInt aErrorCode
) [virtual]

Parameters

CMmDataPackage * aDataPackage
TInt aErrorCode

CompleteRejectActivationRequest()

void CompleteRejectActivationRequest ( ) [virtual]

Completes asynchronous reject activation request.

CompleteSetAlwaysOn(TInt)

void CompleteSetAlwaysOn ( TInt aError )

Completes SetAlwaysOn request

Parameters

TInt aError error value from LTSY

CompleteSetAttachMode(const TInt)

void CompleteSetAttachMode ( const TInt aError ) [virtual]

Completes the Set Attach Mode request.

Parameters

const TInt aError

CompleteSetDefaultContextParams(TInt)

void CompleteSetDefaultContextParams ( TInt aCause ) [virtual]

Completes SetDefaultContextConfiguration request.

Parameters

TInt aCause

CompleteSetPreferredBearer(const TInt)

void CompleteSetPreferredBearer ( const TInt aError ) [virtual]

Completes the Set Preferred Bearer request.

Parameters

const TInt aError

CompleteUpdateMbmsMonitorServiceList(CMmDataPackage *, const TInt)

void CompleteUpdateMbmsMonitorServiceList ( CMmDataPackage * aDataPackage,
const TInt aResult
) [virtual]

Completes update monitored list request

Parameters

CMmDataPackage * aDataPackage a packed list of all the monitor entries that failed to update
const TInt aResult the result of the Update

ConstructL(MLtsyFactoryBase *)

void ConstructL ( MLtsyFactoryBase * aFactory ) [private]

Initialises object attributes.

Parameters

MLtsyFactoryBase * aFactory pointer to Ltsy factory base

ContextStatusChanged(const RPacketContext::TContextStatus)

void ContextStatusChanged ( const RPacketContext::TContextStatus aContextStatus )

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 TInt aIpc ) [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 TInfoName aContextName ) [virtual]

Returns externally created dial-up context.

Parameters

const TInfoName aContextName

DoExtFuncL(const TInt, const TDataPackage &)

TInt DoExtFuncL ( const TInt aIpc,
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 & aCount The number of Mbms active service list [out]
TInt & aMaxAllowed The 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 & aCount Actual 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 TTsyReqHandle aTsyReqHandle,
const TInt aIpc,
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 aMode attach 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 ( TTsyReqHandle aTsyReqHandle ) [private]

Cancel the Get Mbms Monitored Services

Parameters

TTsyReqHandle aTsyReqHandle the TSY request handle

GetMbmsMonitoredServicesPhase1L(RMobilePhone::TClientId *, TUint &)

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

Requests size of the monitored service list.

Parameters

RMobilePhone::TClientId * aClient a pointer to the client ID
TUint & aBufSize The 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 ( TBool aAttemptAttach,
TMbmsNetworkServiceStatus * aMBMSServiceStatus
)

Returns current status of MBMS Network Service.

Parameters

TBool aAttemptAttach a boolean to state whether the mbms should attemt to attach the service
TMbmsNetworkServiceStatus * aMBMSServiceStatus pointer 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()

void Init ( ) [virtual]

Initialisation method that is called from ETel Server.

InitModulesL(MLtsyFactoryBase *)

void InitModulesL ( MLtsyFactoryBase * aFactory ) [private]

Initialises extension modules for CMmPacketServiceTsy .

Parameters

MLtsyFactoryBase * aFactory pointer to Ltsy factory base

InitStoresAndListsL()

void InitStoresAndListsL ( ) [private]

Initialises needed stores and lists.

IsActivationAllowed()

TInt IsActivationAllowed ( )

Is activation of context allowed

IsContextStatusActive(const RPacketContext::TContextStatus)

TBool IsContextStatusActive ( const RPacketContext::TContextStatus aContextStatus ) 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 aMmPhone pointer to PhoneTsy
CMmMessageManagerBase *const aMessageManager pointer to Messagemanager
MLtsyFactoryBase * aFactory pointer 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 TInt aIpc ) [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 *)

void PreferredBearerChanged ( CMmDataPackage * aPackage ) [virtual]

Completes preferred bearer change.

Parameters

CMmDataPackage * aPackage includes 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 ( TInfoName aMmPacketContextName )

Returns pointer to right Qos

Parameters

TInfoName aMmPacketContextName

RegisterNotification(const TInt)

TInt RegisterNotification ( const TInt aIpc ) [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::TReqMode ReqModeL ( const TInt aIpc ) [virtual]

Returns request mode for given IPC.

Parameters

const TInt aIpc

ResetPointerToDialUpContext(const TInfoName)

void ResetPointerToDialUpContext ( const TInfoName aContextName )

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 ( TTsyReqHandle aTsyReqHandle,
RMmCustomAPI::TSetAlwaysOnMode aMode
)

Request Set Always On

Parameters

TTsyReqHandle aTsyReqHandle TSY ReqHandle
RMmCustomAPI::TSetAlwaysOnMode aMode requested 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)

void SetTypeOfResponse ( const TInt aReqHandleType ) [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)

void UpdateAttachedPacketStatus ( const TBool aIsActiveContext ) [private]

Sets and completes attached packet status if needed.

Parameters

const TBool aIsActiveContext

UpdateMbmsMonitorServiceListCancel(TTsyReqHandle)

TInt UpdateMbmsMonitorServiceListCancel ( TTsyReqHandle aTsyReqHandle ) [private]

Cancel the Update Mbms Monitor Service List

Parameters

TTsyReqHandle aTsyReqHandle the TSY request handle

UpdateMbmsMonitorServiceListL(TMbmsAction, TDes8 *)

TInt UpdateMbmsMonitorServiceListL ( TMbmsAction aAction,
TDes8 * aList
)

Request to update monitored service list.

Parameters

TMbmsAction aAction Action to make changes (add/remove or remove all)
TDes8 * aList A 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.