class UserPromptService::RUpsSession : public RScsClientBase |
The system server uses this class to establish a connection with the UPS server.
Internally it retrieves and caches authorisation policy information for all the services supported by the current server SID. This information is used to allow the RUpsSubsession to avoid creating a subsession and/or querying the UPS if the request does not require UPS interaction.
Public Member Functions | |
---|---|
RUpsSession() | |
IMPORT_C void | Close() |
IMPORT_C TInt | Connect() |
void | NotifyPolicyFileChangedL() |
Private Member Functions | |
---|---|
void | RetrieveClientConfigL() |
Inherited Enumerations | |
---|---|
RHandleBase:TAttributes | |
RSessionBase:TAttachMode |
Private Attributes | |
---|---|
CUpsClientConfig * | iClientConfig |
CPolicyChangeWatcher * | iPolicyChangeWatcher |
Inherited Attributes | |
---|---|
RHandleBase::iHandle |
IMPORT_C | RUpsSession | ( | ) |
This constructor provides a single point of definition from which the superclass constructor is called.
IMPORT_C void | Close | ( | ) |
Frees the configuration object and calls RScsClientBase::Close
This function MUST be called by the same thread which Connect().
IMPORT_C TInt | Connect | ( | ) |
Connect to the UPS server.
The thread which calls this function must be the same one which later calls Close().
Once connected, this session can be shared by multiple RUpsSubsession objects.
The RUpsSubsession objects are allowed to be in different threads, in which case ShareAuto() must be called before they are created.
void | NotifyPolicyFileChangedL | ( | ) |
Policy files have changed so update serviceconfig cache.
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.