class CXdmProtocolInfo : public CBase |
Public Member Functions | |
---|---|
~CXdmProtocolInfo () | |
IMPORT_C TInt | AccessPoint () |
IMPORT_C const TXdmCredentials & | Credentials () |
IMPORT_C TBool | IsCacheEnabled () |
IMPORT_C TBool | IsSecure () |
IMPORT_C CXdmProtocolInfo * | NewL ( TInt , TInt , const TDesC &) |
IMPORT_C CXdmProtocolInfo * | NewL ( TInt ) |
IMPORT_C TUid | ProtocolUid () |
IMPORT_C TPtrC | Root () |
IMPORT_C void | SetCacheUsage ( TBool ) |
IMPORT_C void | SetCredentials (const TXdmCredentials ) |
IMPORT_C void | SetSecurity ( TBool ) |
IMPORT_C TInt | SettingsID () |
Private Member Functions | |
---|---|
CXdmProtocolInfo () | |
CXdmProtocolInfo ( TInt ) | |
CXdmProtocolInfo ( TInt , TInt ) | |
void | Construct ( TInt ) |
void | ConstructL (const TDesC &) |
Private Attributes | |
---|---|
TInt | iAccessPoint |
TXdmCredentials | iCredentials |
TUid | iProtocolUid |
HBufC * | iRootLocation |
TBool | iSecure |
TInt | iSettingsId |
TBool | iUseCache |
CXdmProtocolInfo | ( | TInt | aProtocolUid | ) | [private] |
C++ constructor is private
TInt aProtocolUid |
CXdmProtocolInfo | ( | TInt | aAccessPoint, |
TInt | aProtocolUid | ||
) | [private] |
C++ constructor is private
void | Construct | ( | TInt | aSettingsId | ) | [private] |
Symbian OS non-leaving constructor
TInt aSettingsId |
void | ConstructL | ( | const TDesC & | aRootLocation | ) | [private] |
Symbian OS second-phase constructor
const TDesC & aRootLocation |
IMPORT_C CXdmProtocolInfo * | NewL | ( | TInt | aAccessPoint, |
TInt | aProtocolUid, | |||
const TDesC & | aRootLocation | |||
) | [static] |
Create a new protocol info object
IMPORT_C CXdmProtocolInfo * | NewL | ( | TInt | aSettingsId | ) | [static] |
Create a new protocol info object
NOTE: In order to be able to use this overload of the constructor, the client must first fetch the collection of XDM Settings through the static method XdmSettingsL() declared in CXdmEngine API. This method returns an array of strings, which denote the names of the settings collections stored for XDM.
TInt aSettingsId |
IMPORT_C void | SetCacheUsage | ( | TBool | aCacheUsage | ) |
Enable/disable cache
TBool aCacheUsage |
IMPORT_C void | SetCredentials | ( | const TXdmCredentials | aCredentials | ) |
Set appropriate credentials in case the used resource requires authorization.
const TXdmCredentials aCredentials |
IMPORT_C void | SetSecurity | ( | TBool | aSecure | ) |
Enable/disable secure transfer
TBool aSecure |
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.