| class CMmPacketContextTsy : public CSubSessionExtBase |
CMmPacketContextTsy contains GPRS context related functionality.
| TInt | AddMediaAuthorizationL | ( | const TTsyReqHandle | aTsyReqHandle, |
| TDes8 * | aMediaAuthorization | |||
| ) | [private] | |||
Adds authorization params
| const TTsyReqHandle aTsyReqHandle | request handle |
| TDes8 * aMediaAuthorization | params to be added |
| TInt | AddPacketFilterL | ( | const TTsyReqHandle | aTsyReqHandle, |
| TDes8 *const | aPacketFilter | |||
| ) | [private] | |||
Set/Modify packet filter(s) to secondary context
| const TTsyReqHandle aTsyReqHandle | TSY request handle |
| TDes8 *const aPacketFilter | Contains packet filter(s) info |
| TInt | CancelService | ( | const TInt | aIpc, |
| const TTsyReqHandle | aTsyReqHandle | |||
| ) | [virtual] | |||
Cancels request that's IPC number and request handle are given as parameters
| const TInt aIpc | |
| const TTsyReqHandle aTsyReqHandle | Request handle from ETel server |
| void | Complete | ( | const TInt | aReqHandleType, |
| const TInt | aError | |||
| ) | ||||
Call the needed complete method due the timer expiration.
| void | CompleteActivate | ( | const TInt | aResult | ) |
Complete the context activation.
| const TInt aResult | Result of the request |
| void | CompleteDeactivate | ( | const TInt | aResult | ) |
Complete the context deactivation
| const TInt aResult | Result of the request |
| void | CompleteDelete | ( | const TInt | aResult | ) |
Complete the context delete
| const TInt aResult | Result of the request |
| void | CompleteGetDataVolumeTransferred | ( | const TInt | aResult | ) |
Complete the get data volume transferred request.
| const TInt aResult | Result of the request |
| void | CompleteInitialiseContext | ( | const TInt | aResult | ) |
Complete the context initialisation
| const TInt aResult | Result of the request |
| void | CompleteModifyActiveContext | ( | const TInt | aResult | ) |
Completes contecxt Modification to client.
| const TInt aResult | Result of the request |
| void | CompleteNotifyConfigChanged | ( | ) |
Complete the config changed notification
| void | CompleteNotifyConnectionSpeedChange | ( | TInt const | aConnectionSpeed | ) | [virtual] |
Complete the connection speed change notification
| TInt const aConnectionSpeed | Contains connections speed |
| void | CompleteNotifyStatusChange | ( | const RPacketContext::TContextStatus | aContextStatus | ) |
Complete the status change notification
| const RPacketContext::TContextStatus aContextStatus | Contains status of the context |
| void | CompleteSetConfig | ( | const TInt | aResult, |
| TBool | aIsAddMediaAuthorizationCalled = EFalse | |||
| ) | ||||
Complete the context configuration
| void | ContextResumed | ( | ) |
Resume the suspended context. This function is called from Packet Service Tsy to notify client
| void | ContextSuspended | ( | ) |
Suspend the context. Called from Packet Service Tsy to notify client
| TPacketContextType | ContextType | ( | ) | const [virtual] |
Returns type of context based on context name
| TInt | DeregisterNotification | ( | const TInt | aIpc | ) | [virtual] |
Deregister given notification
| const TInt aIpc | IPC number of the request |
| TInt | DoExtFuncL | ( | const TTsyReqHandle | aTsyReqHandle, |
| const TInt | aIpc, | |||
| const TDataPackage & | aPackage | |||
| ) | [private] | |||
TRAP's all CMmPacketContextTsy related MM Packet API requests in case that they fail. This method functions only as a centralized TRAP for the DoExtFuncL method that does the actual mapping of IPC number to TSY method call.
| const TTsyReqHandle aTsyReqHandle | TSY request handle from ETel server |
| const TInt aIpc | IPC number of the request |
| const TDataPackage & aPackage | Reference to the input parameters. |
| TInt | EnumeratePacketFilters | ( | const TTsyReqHandle | aTsyReqHandle, |
| TInt * | aCount | |||
| ) | [private] | |||
Enumerate context packet filters
| const TTsyReqHandle aTsyReqHandle | TSY request handle |
| TInt * aCount | Contains packet filter count in return |
| TInt | ExtFunc | ( | const TTsyReqHandle | aTsyReqHandle, |
| const TInt | aIpc, | |||
| const TDataPackage & | aPackage | |||
| ) | [virtual] | |||
TRAP's all CMmPacketContextTsy related MM API requests in case that they fail. This method functions only as a centralized TRAP for the DoExtFuncL method that does the actual mapping of IPC number to TSY method call.
| const TTsyReqHandle aTsyReqHandle | TSY request handle from ETel server |
| const TInt aIpc | IPC number of the request |
| const TDataPackage & aPackage | Reference to the input parameters. |
| TInt | GetConfig | ( | const TTsyReqHandle | aTsyReqHandle, |
| TPacketDataConfigBase *const | aConfig | |||
| ) | [private] | |||
Get the context configuration info
| const TTsyReqHandle aTsyReqHandle | TSY request handle |
| TPacketDataConfigBase *const aConfig |
| TInt | GetConnectionSpeed | ( | const TTsyReqHandle | aTsyReqHandle, |
| TUint *const | aRate | |||
| ) | [private] | |||
Get the current connection speed availability
| const TTsyReqHandle aTsyReqHandle | TSY request handle |
| TUint *const aRate |
| TInt | GetDataVolumeTransferredL | ( | const TTsyReqHandle | aTsyReqHandle, |
| RPacketContext::TDataVolume *const | aVolume | |||
| ) | [private] | |||
Get the data volume transferred
| const TTsyReqHandle aTsyReqHandle | TSY request handle |
| RPacketContext::TDataVolume *const aVolume |
| TInt | GetDnsInfo | ( | const TTsyReqHandle | aTsyReqHandle, |
| TDes8 *const | aDnsInfo | |||
| ) | [private] | |||
Get the DNS info for Etel side request
| const TTsyReqHandle aTsyReqHandle | TSY request handle |
| TDes8 *const aDnsInfo | Contains DNS information in return |
| TInt | GetLastErrorCause | ( | const TTsyReqHandle | aTsyReqHandle, |
| TInt *const | aError | |||
| ) | [private] | |||
Get the last error cause occurred
| const TTsyReqHandle aTsyReqHandle | TSY request handle |
| TInt *const aError |
| TInt | GetPacketFilterInfo | ( | const TTsyReqHandle | aTsyReqHandle, |
| TInt * | aIndex, | |||
| TPacketBase * | aPacketFilterInfo | |||
| ) | [private] | |||
Gets filter info specified by index
| const TTsyReqHandle aTsyReqHandle | TSY request handle |
| TInt * aIndex | of the wanted filter index |
| TPacketBase * aPacketFilterInfo | Contains packet filter information |
| TInt | GetProfileName | ( | const TTsyReqHandle | aTsyReqHandle, |
| TInfoName *const | aQoSProfile | |||
| ) | [private] | |||
Get the QoS profile name
| const TTsyReqHandle aTsyReqHandle | TSY request handle |
| TInfoName *const aQoSProfile |
| TInt | GetStatus | ( | const TTsyReqHandle | aTsyReqHandle, |
| RPacketContext::TContextStatus *const | aContextStatus | |||
| ) | [private] | |||
Get the current status of the context
| const TTsyReqHandle aTsyReqHandle | TSY request handle |
| RPacketContext::TContextStatus *const aContextStatus |
| void | InitInternalAttributes | ( | ) | [private] |
Initialise miscellaneous internal attributes.
| void | InitModulesL | ( | ) | [private] |
Initialises extension modules for CMmPacketContextTsy .
| TInt | InitialiseContextL | ( | RPacketContext::TDataChannelV2 * | aDataChannel | ) | [private] |
Initialise a context
| RPacketContext::TDataChannelV2 * aDataChannel | to be populated and returned to client |
| TBool | IsDialUpContext | ( | const TInfoName *const | aContextName = NULL | ) | const |
Check if this is a dial-up context, otherwise EFalse.
| const TInfoName *const aContextName = NULL | Contains the name of this context |
| TInt | ModifyActiveContextL | ( | ) | [private] |
Method invokes MS-initiated modification of an active context in the network
| CMmPacketContextTsy * | NewL | ( | CMmPacketServiceTsy *const | aMmPacketService, |
| const TInfoName & | aHostCID, | |||
| const TDes & | aName, | |||
| const TUint8 | aProxyId = 0x00 | |||
| ) | [static] | |||
NewL method is used to create a new instance of CMmPacketContextTsy class.
| CMmPacketServiceTsy *const aMmPacketService | Pointer to the Packet Service object |
| const TInfoName & aHostCID | Name of existing context |
| const TDes & aName | Context name |
| const TUint8 aProxyId = 0x00 | Proxy id |
| TInt | NotifyConfigChanged | ( | TPacketDataConfigBase *const | aConfig | ) | [private] |
Allows clients to be notified of any change in context configuration. Allows a client to be notified whenever a change in the configuration of the current context is detected and passes back the updated configuration. Note that once the notification completes, the clients must then re-post the notification if they wish to continue receiving the notification.
| TPacketDataConfigBase *const aConfig |
| TInt | NotifyConnectionSpeedChange | ( | TUint *const | aRate | ) | [private] |
Allows clients to be notified of any change in the connection speed
| TUint *const aRate |
| TInt | NotifyStatusChange | ( | RPacketContext::TContextStatus *const | aContextStatus | ) | [private] |
Allows clients to be notified of any change in the context status
| RPacketContext::TContextStatus *const aContextStatus |
| TInt | NumberOfSlotsL | ( | const TInt | aIpc | ) | [virtual] |
Returns number of slots to be used for a given IPC
*
| const TInt aIpc | IPC number of the request |
| CTelObject * | OpenNewObjectByNameL | ( | const TDesC & | aName | ) | [virtual] |
Return a pointer to QoS if it exists
| const TDesC & aName | Object name that should be opened |
| CTelObject * | OpenNewObjectL | ( | TDes & | aNewName | ) | [virtual] |
Create new QoS object and returns a pointer to it
| TDes & aNewName |
| CMmPacketContextGsmWcdmaExt * | PacketContextGsmWcdmaExt | ( | ) | const [virtual] |
Return a pointer to CMmPacketContextGsmWcdmaExt
| TInt | RegisterNotification | ( | const TInt | aIpc | ) | [virtual] |
Register given notification
| const TInt aIpc | IPC number of the request |
| TInt | RemoveMediaAuthorization | ( | const TTsyReqHandle | aTsyReqHandle, |
| RPacketContext::TAuthorizationToken *const | aAuthorizationToken | |||
| ) | [private] | |||
Removes authorization params
| const TTsyReqHandle aTsyReqHandle | request handle |
| RPacketContext::TAuthorizationToken *const aAuthorizationToken |
| TInt | RemovePacketFilter | ( | const TTsyReqHandle | aTsyReqHandle, |
| TInt * | aID | |||
| ) | [private] | |||
Remove packet filter from context
| const TTsyReqHandle aTsyReqHandle | TSY request handle |
| TInt * aID | Contains packet filter ID to be removed |
| void | ReqCompleted | ( | const TTsyReqHandle | aTsyReqHandle, |
| const TInt | aError | |||
| ) | [private, virtual] | |||
Overloads original ReqCompleted for logging purposes
| const TTsyReqHandle aTsyReqHandle | TSY request handle |
| const TInt aError | error value |
| CTelObject::TReqMode | ReqModeL | ( | const TInt | aIpc | ) | [virtual] |
Returns request mode for given IPC number
*
| const TInt aIpc | IPC number of the request |
| TInt | SetConfigL | ( | TPacketDataConfigBase *const | aConfig | ) | [private] |
Set context configuration
| TPacketDataConfigBase *const aConfig | Contains context configuration |
| void | SetDataVolume | ( | const TInt | aResult, |
| RPacketContext::TDataVolume | dataVolume | |||
| ) | [virtual] | |||
Sets the amount of data transmitted & received over the airlink since the context was activated.
| const TInt aResult | Contains context configuration |
| RPacketContext::TDataVolume dataVolume | Contains transmitted & received data |
| void | SetLastErrorCause | ( | const TInt | aErrorCause | ) |
Set the last error cause.
| const TInt aErrorCause | Contains the last error cause |
| void | SetTypeOfResponse | ( | const TInt | aReqHandleType, |
| const TTsyReqHandle | aTsyReqHandle | |||
| ) | [private] | |||
Choose the type of response, automatic or common.
| const TInt aReqHandleType | |
| const TTsyReqHandle aTsyReqHandle |
| EMultimodePacketContextReqHandleUnknown | |
| EMultimodePacketContextInitialiseContext | |
| EMultimodePacketContextActivate | |
| EMultimodePacketContextDeactivate | |
| EMultimodePacketContextDelete | |
| EMultimodePacketContextNotifyConfigChanged | |
| EMultimodePacketContextNotifyConnectionSpeedChange | |
| EMultimodePacketContextNotifyStatusChange | |
| EMultimodePacketContextSetConfig | |
| EMultimodePacketContextGetDataVolumeTransferred | |
| EMultimodePacketContextGetPacketFilterInfo | |
| EMultimodePacketContextEnumeratePacketFilters | |
| EMultimodePacketContextAddPacketFilter | |
| EMultimodePacketContextRemovePacketFilter | |
| EMultimodePacketContextModifyActiveContext | |
| EMultimodePacketContextNotifyConfigChanged99 | |
| EMultimodePacketContextAddMediaAuthorization | |
| EMaxNumOfPacketContextRequests |
The type of the context
| EContextTypePacketContext |
Packet Context |
| EContextTypeMBMS |
MBMS Context |
| RPacketContext::TConnectionInfoV1 | iConnectionInfo | [private] |
Connection information received from LTSY.
| RPacketContext::TContextStatus | iContextStatus | [private] |
Context status
| RPacketContext::TContextStatus | iContextStatusBeforeSuspending | [private] |
Context status before suspending
| RPacketContext::TDataVolume | iDataVolume | [private] |
Data Volume Transferred
| CMmPacketContextGsmWcdmaExt * | iMmPacketContextGsmWcdmaExt | [private] |
Pointer to the gsm extension
| CMmPacketServiceTsy * | iMmPacketService | [private] |
Pointer to the Packet Service TSY Not own.
| TTsyReqHandle | iPacketContextReqHandles | [private] |
Table for packet context request handles
| CMmPacketQoSTsy * | iQoSProfile | [private] |
Pointer to the QoS Profile Not own.
| TPacketContextRequestTypes | iReqHandleType | [private] |
Req handle type
| RPacketContext::TDataVolume * | iRetDataVolume | [private] |
Get Data Volume Transferred Not own.
| TPacketDataConfigBase * | iRetNotifyConfig | [private] |
Notify Config Changed Not own.
| TPacketDataConfigBase * | iRetNotifyConfig2 | [private] |
Notify Config Changed Not own.
| TConnectionInfoBase * | iRetNotifyConnectionInfo | [private] |
Pointer to connection info held by client, to be populated when notification request is completed. Not own.
| TUint * | iRetNotifyConnectionSpeed | [private] |
Notify Connection Speed Change Not own.
| RPacketContext::TContextStatus * | iRetNotifyStatus | [private] |
Notify Context Status Change Not own.
| CMmTsyReqHandleStore * | iTsyReqHandleStore | [private] |
Pointer to the Req handle store Own.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.