| class CMmPacketServiceTsy : public CSubSessionExtBase |
CMmPacketServiceTsy contains GPRS service related functionality.
| 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 ) |
| CMmPacketServiceGsmWcdmaExt * | ActivePacketServiceExtension | ( | ) | [virtual] |
Returns a pointer to the active packet service extension.
| TInt | CancelService | ( | const TInt | aIpc, |
| const TTsyReqHandle | aTsyReqHandle | |||
| ) | [virtual] | |||
Cancels request defined by aIpc.
| const TInt aIpc | |
| const TTsyReqHandle aTsyReqHandle |
| void | CancelSetAlwaysOn | ( | TTsyReqHandle | aTsyReqHandle | ) |
Cancels Set Always On
| TTsyReqHandle aTsyReqHandle | TSY reghandle |
| void | Complete | ( | const CTelObject *const | aObject, |
| const TInt | aReqHandleType, | |||
| const TInt | aError | |||
| ) | [virtual] | |||
Called from MmPhoneTsy when timer expire.
| const CTelObject *const aObject | |
| const TInt aReqHandleType | |
| const TInt aError |
| void | Complete | ( | const TInt | aReqHandleType, |
| const TInt | aError | |||
| ) | [private] | |||
Calls the needed complete method due timer expiration.
| void | CompleteAttach | ( | const TInt | aError | ) | [virtual] |
Completes asynchronous attach request.
| const TInt aError | error value for completion |
| void | CompleteDetachL | ( | const TInt | aError | ) | [virtual] |
Completes asynchronous detach request.
| const TInt aError |
| void | CompleteEnumerateMbmsActiveServiceList | ( | CMmDataPackage * | aDataPackage, |
| TInt | aResult | |||
| ) | ||||
Completes Enumrate active service list
| CMmDataPackage * aDataPackage | |
| TInt aResult |
| void | CompleteGetAttachMode | ( | const RPacketService::TAttachMode | aAttachMode, |
| TInt | aResult | |||
| ) | [virtual] | |||
Completes Get GPRS Attach Info operation.
| const RPacketService::TAttachMode aAttachMode | attach mode |
| TInt aResult |
| void | CompleteGetMbmsNetworkServiceStatus | ( | CMmDataPackage * | aDataPackage, |
| TInt | aError | |||
| ) | ||||
Completes get MBMS network service status request.
| CMmDataPackage * aDataPackage | |
| TInt aError |
| void | CompleteGetNtwkRegStatus | ( | const RPacketService::TRegistrationStatus | aRegistrationStatus, |
| const TInt | aError | |||
| ) | [virtual] | |||
Completes get network registration status request.
| const RPacketService::TRegistrationStatus aRegistrationStatus | |
| const TInt aError |
| void | CompleteMaxMonitoredServicesChange | ( | TInt | aMaxMonitorValue | ) | [virtual] |
Completes max value of monitored services change.
| TInt aMaxMonitorValue |
| void | CompleteNetworkModeChange | ( | CMmDataPackage * | CDataPackage | ) | [virtual] |
Set current network to Service TSY.
| CMmDataPackage * CDataPackage |
| void | CompleteNotifyChangeOfNtwkRegStatus | ( | const RPacketService::TRegistrationStatus | aRegistrationStatus | ) | [virtual] |
Completes network registration status notification to client.
| const RPacketService::TRegistrationStatus aRegistrationStatus |
| void | CompleteNotifyChangeOfNtwkRegStatus | ( | CMmDataPackage * | aDataPackage, |
| TInt | aResult | |||
| ) | ||||
Completes network registration status notification to client. Handles request coming from MessHandler
| CMmDataPackage * aDataPackage | includes request related data |
| TInt aResult | The result of the notification from the LTSY |
| void | CompleteNotifyContextActivationRequested | ( | CMmDataPackage * | aDataPackage | ) | [virtual] |
Completes context activation requested notification to client.
| CMmDataPackage * aDataPackage |
| void | CompleteNotifyContextAdded | ( | CMmDataPackage * | aPackage | ) | [virtual] |
Completes the context added notification to client.
| CMmDataPackage * aPackage | contains parameters for request |
| void | CompleteNotifyDynamicCapsChange | ( | const RPacketService::TDynamicCapsFlags | aCaps | ) | [virtual] |
Completes dynamic capabilities change notification to client.
| const RPacketService::TDynamicCapsFlags aCaps |
| void | CompleteNotifyEGprsInfoChange | ( | CMmDataPackage * | aDataPackage | ) |
Routes completion to customtsy
| CMmDataPackage * aDataPackage |
| void | CompleteNotifyMSClassChange | ( | CMmDataPackage * | aDataPackage | ) | [virtual] |
Completes mobile station class change notification to client.
| CMmDataPackage * aDataPackage | contains data used for this notification |
| void | CompleteNotifyMbmsNetworkServiceStatusChange | ( | CMmDataPackage * | aDataPackage, |
| TInt | aResult | |||
| ) | ||||
Completes Network service status change requested notification to client.
| CMmDataPackage * aDataPackage | |
| TInt aResult |
| void | CompleteNotifyMbmsServiceAvailabilityChangeL | ( | CMmDataPackage * | aDataPackage, |
| TInt | aResult | |||
| ) | ||||
Completes service available status change requested notification to client.
| 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 |
| void | CompleteNotifyStatusChange | ( | const RPacketService::TStatus & | aPacketStatus, |
| TInt | aErrorCode | |||
| ) | [virtual] | |||
Completes service status change notification to client.
| const RPacketService::TStatus & aPacketStatus | |
| TInt aErrorCode | contains error value if packet status changed because of error |
| void | CompletePacketStatusChanged | ( | CMmDataPackage * | aDataPackage, |
| TInt | aErrorCode | |||
| ) | [virtual] | |||
| CMmDataPackage * aDataPackage | |
| TInt aErrorCode |
| void | CompleteRejectActivationRequest | ( | ) | [virtual] |
Completes asynchronous reject activation request.
| void | CompleteSetAlwaysOn | ( | TInt | aError | ) |
Completes SetAlwaysOn request
| TInt aError | error value from LTSY |
| void | CompleteSetAttachMode | ( | const TInt | aError | ) | [virtual] |
Completes the Set Attach Mode request.
| const TInt aError |
| void | CompleteSetDefaultContextParams | ( | TInt | aCause | ) | [virtual] |
Completes SetDefaultContextConfiguration request.
| TInt aCause |
| void | CompleteSetPreferredBearer | ( | const TInt | aError | ) | [virtual] |
Completes the Set Preferred Bearer request.
| const TInt aError |
| void | CompleteUpdateMbmsMonitorServiceList | ( | CMmDataPackage * | aDataPackage, |
| const TInt | aResult | |||
| ) | [virtual] | |||
Completes update monitored list request
| CMmDataPackage * aDataPackage | a packed list of all the monitor entries that failed to update |
| const TInt aResult | the result of the Update |
| void | ConstructL | ( | MLtsyFactoryBase * | aFactory | ) | [private] |
Initialises object attributes.
| MLtsyFactoryBase * aFactory | pointer to Ltsy factory base |
| void | ContextStatusChanged | ( | const RPacketContext::TContextStatus | aContextStatus | ) |
Context status has changed from the Service point of view.
| const RPacketContext::TContextStatus aContextStatus |
| CMmPacketContextTsy * | ContextTsy | ( | TInfoName & | contextName | ) |
Returns context by name
| TInfoName & contextName |
| TInt | DeregisterNotification | ( | const TInt | aIpc | ) | [virtual] |
This function unsubscribes given notification from DOS.
| const TInt aIpc |
| CMmPacketContextTsy * | DialUpContext | ( | const TInfoName | aContextName | ) | [virtual] |
Returns externally created dial-up context.
| const TInfoName aContextName |
| TInt | DoExtFuncL | ( | const TInt | aIpc, |
| const TDataPackage & | aPackage | |||
| ) | [private] | |||
Calls correct method to handle ETel server request.
| const TInt aIpc | |
| const TDataPackage & aPackage |
| TInt | EnumerateContexts | ( | TInt *const | aCount, |
| TInt *const | aMaxAllowed | |||
| ) | ||||
Enumerates contexts and completes.
| TInt | EnumerateContextsInNif | ( | TDesC * | aExistingContextName, |
| TInt * | aCount | |||
| ) | ||||
Number of contexts in network interface.
| TInt | EnumerateMbmsActiveServiceList | ( | TInt & | aCount, |
| TInt & | aMaxAllowed | |||
| ) | ||||
Returns the number of Mbms active service list and the maximum possible number of active service list
| TInt | EnumerateMonitorServiceList | ( | TInt & | aCount, |
| TInt & | aMaxAllowed | |||
| ) | ||||
Enumrates monitored service list
| TInt | EnumerateNifs | ( | TInt * | aCount | ) |
Enumerate network interfaces.
| TInt * aCount |
| 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.
| const TTsyReqHandle aTsyReqHandle | |
| const TInt aIpc | |
| const TDataPackage & aPackage |
| TInt | GetAttachModeL | ( | RPacketService::TAttachMode *const | aMode | ) |
Returns current mode of the GPRS Attach operation.
| RPacketService::TAttachMode *const aMode | attach mode |
| TInt | GetContextInfo | ( | const TInt *const | aIndex, |
| RPacketService::TContextInfo *const | aInfo | |||
| ) | ||||
Gets Context info of the context defined by aIndex.
| const TInt *const aIndex | |
| RPacketService::TContextInfo *const aInfo |
| TInt | GetContextNameInNif | ( | RPacketService::TContextNameInNif * | aContextNameInNif, |
| TDes * | aContextName | |||
| ) | ||||
Get name of context in network interface.
| RPacketService::TContextNameInNif * aContextNameInNif | |
| TDes * aContextName |
| TInt | GetDefaultContextParams | ( | TPacketDataConfigBase * | aContextConfig | ) |
Get context default parameters.
| TPacketDataConfigBase * aContextConfig |
| TInt | GetDynamicCaps | ( | RPacketService::TDynamicCapsFlags *const | aCaps | ) |
Gets the dynamic capabilities of the phone.
| RPacketService::TDynamicCapsFlags *const aCaps |
| TInt | GetMSClass | ( | RPacketService::TMSClass *const | aCurrentClass, |
| RPacketService::TMSClass *const | aMaxClass | |||
| ) | ||||
Gets current and maximum value of the Mobile Station Class.
| RPacketService::TMSClass *const aCurrentClass | |
| RPacketService::TMSClass *const aMaxClass |
| TInt | GetMbmsMonitoredServicesCancel | ( | TTsyReqHandle | aTsyReqHandle | ) | [private] |
Cancel the Get Mbms Monitored Services
| TTsyReqHandle aTsyReqHandle | the TSY request handle |
| TInt | GetMbmsMonitoredServicesPhase1L | ( | RMobilePhone::TClientId * | aClient, |
| TUint & | aBufSize | |||
| ) | ||||
Requests size of the monitored service list.
| RMobilePhone::TClientId * aClient | a pointer to the client ID |
| TUint & aBufSize | The return buffer size |
| TInt | GetMbmsMonitoredServicesPhase2 | ( | RMobilePhone::TClientId * | aClient, |
| TDes8 * | aBuf | |||
| ) | ||||
Requests the monitored service list.
| RMobilePhone::TClientId * aClient | |
| TDes8 * aBuf |
| TInt | GetMbmsNetworkServiceStatus | ( | TBool | aAttemptAttach, |
| TMbmsNetworkServiceStatus * | aMBMSServiceStatus | |||
| ) | ||||
Returns current status of MBMS Network Service.
| 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 |
| TInt | GetNifInfo | ( | TInt * | aIndex, |
| RPacketService::TNifInfoV2 * | aNifInfoV2 | |||
| ) | ||||
Get network interface information.
| TInt * aIndex | |
| RPacketService::TNifInfoV2 * aNifInfoV2 |
| TInt | GetNtwkRegStatusL | ( | RPacketService::TRegistrationStatus *const | aRegistrationStatus | ) |
Gets network registration status.
| RPacketService::TRegistrationStatus *const aRegistrationStatus |
| TInt | GetPreferredBearer | ( | RPacketService::TPreferredBearer *const | aBearer | ) |
Returns preferred bearer.
| RPacketService::TPreferredBearer *const aBearer |
| TInt | GetSizeOfMonitoredServiceListL | ( | RMobilePhone::TClientId * | aClient, |
| TUint & | aBufSize | |||
| ) | ||||
Get size of monitored service list
| RMobilePhone::TClientId * aClient | |
| TUint & aBufSize |
| TInt | GetStaticCaps | ( | TUint *const | aCaps, |
| const RPacketContext::TProtocolType *const | aPdpType | |||
| ) | ||||
Retrieves those capabilities of the TSY that are constant.
| TUint *const aCaps | |
| const RPacketContext::TProtocolType *const aPdpType |
| TInt | GetStatus | ( | RPacketService::TStatus *const | aPacketStatus | ) |
Returns current status of the packet service.
| RPacketService::TStatus *const aPacketStatus |
| void | InitModulesL | ( | MLtsyFactoryBase * | aFactory | ) | [private] |
Initialises extension modules for CMmPacketServiceTsy .
| MLtsyFactoryBase * aFactory | pointer to Ltsy factory base |
| TBool | IsContextStatusActive | ( | const RPacketContext::TContextStatus | aContextStatus | ) | const [private] |
Checks if context status is active from service point of view.
| const RPacketContext::TContextStatus aContextStatus |
| TInt | MaximumActiveServices | ( | ) |
Return maximum number of active services allowed
| CMmMessageManagerBase * | MessageManager | ( | ) | [virtual] |
Returns pointer to CMmMessagemanagerBase.
| CMmPacketServiceTsy * | NewL | ( | CMmPhoneTsy *const | aMmPhone, |
| CMmMessageManagerBase *const | aMessageManager, | |||
| MLtsyFactoryBase * | aFactory | |||
| ) | [static] | |||
Two-phased constructor.
| CMmPhoneTsy *const aMmPhone | pointer to PhoneTsy |
| CMmMessageManagerBase *const aMessageManager | pointer to Messagemanager |
| MLtsyFactoryBase * aFactory | pointer to Ltsy factory base |
| TInt | NotifyChangeOfNtwkRegStatus | ( | RPacketService::TRegistrationStatus *const | aRegistrationStatus | ) |
Requests notification of network registration status change.
| RPacketService::TRegistrationStatus *const aRegistrationStatus |
| TInt | NotifyContextActivationRequested | ( | TPacketDataConfigBase *const | aContextParameters | ) |
Requests notification of network requests context activation.
| TPacketDataConfigBase *const aContextParameters |
| TInt | NotifyContextAdded | ( | const TDataPackage & | aPackage | ) |
Requests notification of context has been added.
| const TDataPackage & aPackage |
| TInt | NotifyDynamicCapsChange | ( | RPacketService::TDynamicCapsFlags *const | aCaps | ) |
Requests notification of dynamic capabilities change.
| RPacketService::TDynamicCapsFlags *const aCaps |
| TInt | NotifyMSClassChange | ( | RPacketService::TMSClass *const | aNewClass | ) |
Requests notification of mobile station class change.
| RPacketService::TMSClass *const aNewClass |
| TInt | NotifyMbmsNetworkServiceStatusChange | ( | TMbmsNetworkServiceStatus * | aMBMSServiceStatus | ) |
Requests notification of network service status change.
| TMbmsNetworkServiceStatus * aMBMSServiceStatus |
| TInt | NotifyMbmsServiceAvailabilityChange | ( | ) |
Requests notification of mbms service availability list change.
| TInt | NotifyStatusChange | ( | RPacketService::TStatus *const | aPacketStatus | ) |
Informs client that service status change.
| RPacketService::TStatus *const aPacketStatus |
| TInt | NumberOfSlotsL | ( | const TInt | aIpc | ) | [virtual] |
Returns number of slots to be used for given IPC.
| const TInt aIpc |
| CTelObject * | OpenNewObjectByNameL | ( | const TDesC & | aName | ) | [virtual] |
Returns context object defined in parameter aName.
| const TDesC & aName |
| CTelObject * | OpenNewObjectL | ( | TDes & | aNewName | ) | [virtual] |
Creates new Context object and returns a pointer to it.
| TDes & aNewName |
| CMmPacketContextList * | PacketContextList | ( | ) | [virtual] |
Returns a pointer to the packet context list.
| void | PreferredBearerChanged | ( | CMmDataPackage * | aPackage | ) | [virtual] |
Completes preferred bearer change.
| CMmDataPackage * aPackage | includes request related data |
| TInt | PrepareOpenSecondary | ( | TDes16 * | aPrimaryContextName | ) |
Next created Context will be secondary, gives primary context name
| TDes16 * aPrimaryContextName |
| CMmPacketQoSTsy * | QosTsy | ( | TInfoName | aMmPacketContextName | ) |
Returns pointer to right Qos
| TInfoName aMmPacketContextName |
| TInt | RegisterNotification | ( | const TInt | aIpc | ) | [virtual] |
This function subscribes given notification from DOS.
| const TInt aIpc |
| TInt | RejectActivationRequestL | ( | ) |
Reject activation request from the network.
| CTelObject::TReqMode | ReqModeL | ( | const TInt | aIpc | ) | [virtual] |
Returns request mode for given IPC.
| const TInt aIpc |
| void | ResetPointerToDialUpContext | ( | const TInfoName | aContextName | ) |
Resets pointer to dial-up context.
| const TInfoName aContextName |
| RPacketService::TStatus | ServiceStatus | ( | ) | const [virtual] |
Returns current status of Packet Service.
| TInt | SetAlwaysOnL | ( | TTsyReqHandle | aTsyReqHandle, |
| RMmCustomAPI::TSetAlwaysOnMode | aMode | |||
| ) | ||||
Request Set Always On
| TTsyReqHandle aTsyReqHandle | TSY ReqHandle |
| RMmCustomAPI::TSetAlwaysOnMode aMode | requested mode |
| TInt | SetAttachModeL | ( | const RPacketService::TAttachMode * | aMode | ) |
| const RPacketService::TAttachMode * aMode |
| TInt | SetDefaultContextParamsL | ( | const TDataPackage & | aPackage | ) |
Set default parameters to context.
| const TDataPackage & aPackage |
| TInt | SetPreferredBearerL | ( | const TDataPackage & | aPackage | ) |
Sets preferred bearer given in parameter to the server.
| const TDataPackage & aPackage |
| void | SetTypeOfResponse | ( | const TInt | aReqHandleType | ) | [private] |
Chooses the type of response, automatic or common.
| const TInt aReqHandleType |
| CMmTsyReqHandleStore * | TsyReqHandleStore | ( | ) | [virtual] |
Returns a pointer to the tsy request handle store.
| void | UpdateAttachedPacketStatus | ( | const TBool | aIsActiveContext | ) | [private] |
Sets and completes attached packet status if needed.
| const TBool aIsActiveContext |
| TInt | UpdateMbmsMonitorServiceListCancel | ( | TTsyReqHandle | aTsyReqHandle | ) | [private] |
Cancel the Update Mbms Monitor Service List
| TTsyReqHandle aTsyReqHandle | the TSY request handle |
| TInt | UpdateMbmsMonitorServiceListL | ( | TMbmsAction | aAction, |
| TDes8 * | aList | |||
| ) | ||||
Request to update monitored service list.
| 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 |
| 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 |
| TMbmsAction | iActionType | [private] |
Action type of Update MBMS Monitored Service List
| RPacketService::TAttachMode | iAttachMode | [private] |
Current attach mode
| RMobilePhone::TMobilePhoneNetworkMode | iCurrentMode | [private] |
Current network mode
| CMmPacketContextTsy * | iDialUpContext | [private] |
A pointer to the externally created dial-up context Own.
| CArrayPtrFlat < CListReadAllAttempt > * | iGetMbmsMonitoredServiceLists | [private] |
Read all entries
| TMmPacketServiceInternalSavedData | iInternalSavedData | [private] |
Structure contains data that must be saved in Packet Service
| CMmMBMSContextList * | iMBMSContextList | [private] |
MBMS context object
| CMmMBMSMonitoredList * | iMBMSMonitoredList | [private] |
MBMS monitorted service list
| TInt | iMaxActiveServices | [private] |
Maximum number of active services (= max number of contexts)
| TInt | iMaxMonitoredServices | [private] |
Maximum number of monitored service lists
| TBool | iMbmsMonitorListMaxNumIsCached | [private] |
indicator of MBMS monitorlist max value cache
| TBool | iMbmsStatusCached | [private] |
indicator of MBMS network service status cache
| CMmMessageManagerBase * | iMessageManager | [private] |
Pointer to CMmMessageManagerBase Not own.
| CMmPacketServiceGsmWcdmaExt * | iMmPacketServiceGsmWcdmaExt | [private] |
A pointer to the Gsm/Wcdma spesific packet service extension Own.
| TMmNotifyDataPointers | iNotifyDataPointers | [private] |
Structure contains notify related data pointers
| CMmPacketContextList * | iPacketContextList | [private] |
Pointer to the packet context list Own.
| TTsyReqHandle | iPacketServiceReqHandles | [private] |
A table for packet service request handles
| RPacketService::TRegistrationStatus * | iRegistrationStatus | [private] |
Pointer to the TRegistrationStatus enum defined in Packet Data API Not Own.
| TPacketServiceRequestTypes | iReqHandleType | [private] |
Packet Service Request Handle Type
| CMmPacketContextTsy * | iSecondaryDialUpContext | [private] |
A pointer to the externally created dial-up context Own.
| TMmPacketServiceTemporarySavedData | iTemporarySavedData | [private] |
Structure contains temporary saved data in Packet Service
| CMmTsyReqHandleStore * | iTsyReqHandleStore | [private] |
Pointer to the request 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.